Package com.signadot.model
Class UpsertPRWorkspacesRequest
- java.lang.Object
-
- com.signadot.model.UpsertPRWorkspacesRequest
-
public class UpsertPRWorkspacesRequest extends Object
UpsertPRWorkspacesRequest
-
-
Constructor Summary
Constructors Constructor Description UpsertPRWorkspacesRequest()
-
Method Summary
-
-
-
Method Detail
-
cluster
public UpsertPRWorkspacesRequest cluster(String cluster)
-
getCluster
public String getCluster()
Cluster within which this workspace should be created- Returns:
- cluster
-
setCluster
public void setCluster(String cluster)
-
defaultService
public UpsertPRWorkspacesRequest defaultService(String defaultService)
-
getDefaultService
public String getDefaultService()
Deprecated. use endpoints instead.- Returns:
- defaultService
-
setDefaultService
public void setDefaultService(String defaultService)
-
defaultServicePort
public UpsertPRWorkspacesRequest defaultServicePort(Integer defaultServicePort)
-
getDefaultServicePort
public Integer getDefaultServicePort()
Deprecated. use endpoints instead.- Returns:
- defaultServicePort
-
setDefaultServicePort
public void setDefaultServicePort(Integer defaultServicePort)
-
description
public UpsertPRWorkspacesRequest description(String description)
-
getDescription
public String getDescription()
Description of the purpose of this workspace.- Returns:
- description
-
setDescription
public void setDescription(String description)
-
endpoints
public UpsertPRWorkspacesRequest endpoints(List<CreatePreviewEndpointRequest> endpoints)
-
addEndpointsItem
public UpsertPRWorkspacesRequest addEndpointsItem(CreatePreviewEndpointRequest endpointsItem)
-
getEndpoints
public List<CreatePreviewEndpointRequest> getEndpoints()
Each endpoint specifies a target service or workload corresponding to which a preview URL will be generated.- Returns:
- endpoints
-
setEndpoints
public void setEndpoints(List<CreatePreviewEndpointRequest> endpoints)
-
headCommit
public UpsertPRWorkspacesRequest headCommit(String headCommit)
-
getHeadCommit
public String getHeadCommit()
HeadCommit is the commit hash of the current HEAD of the PR branch. It is automatically computed if not specified but it is recommended that you specify this.- Returns:
- headCommit
-
setHeadCommit
public void setHeadCommit(String headCommit)
-
images
public UpsertPRWorkspacesRequest images(List<V1ImageReplacement> images)
-
addImagesItem
public UpsertPRWorkspacesRequest addImagesItem(V1ImageReplacement imagesItem)
-
getImages
public List<V1ImageReplacement> getImages()
Image replacement rules that are used to create the workspace.- Returns:
- images
-
setImages
public void setImages(List<V1ImageReplacement> images)
-
name
public UpsertPRWorkspacesRequest name(String name)
-
getName
public String getName()
Human-readable name of this workspace- Returns:
- name
-
setName
public void setName(String name)
-
namespace
public UpsertPRWorkspacesRequest namespace(String namespace)
-
getNamespace
public String getNamespace()
Namespace within which this workspace should be created- Returns:
- namespace
-
setNamespace
public void setNamespace(String namespace)
-
-