Files
sdk/docs/PlatformPreviewReq.md

3.7 KiB

PlatformPreviewReq

Properties

Name Type Description Notes
App Pointer to string App is the parent application's slug, from the path. [optional]
Branch Pointer to string Branch is the branch to preview; defaults to the parent app's branch. [optional]
Image Pointer to string Image is the already-built image ref to deploy. Required — a preview never builds. [optional]
Project Pointer to string Project is the project the parent application lives under, from the path. [optional]

Methods

NewPlatformPreviewReq

func NewPlatformPreviewReq() *PlatformPreviewReq

NewPlatformPreviewReq instantiates a new PlatformPreviewReq object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewPlatformPreviewReqWithDefaults

func NewPlatformPreviewReqWithDefaults() *PlatformPreviewReq

NewPlatformPreviewReqWithDefaults instantiates a new PlatformPreviewReq object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetApp

func (o *PlatformPreviewReq) GetApp() string

GetApp returns the App field if non-nil, zero value otherwise.

GetAppOk

func (o *PlatformPreviewReq) GetAppOk() (*string, bool)

GetAppOk returns a tuple with the App field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetApp

func (o *PlatformPreviewReq) SetApp(v string)

SetApp sets App field to given value.

HasApp

func (o *PlatformPreviewReq) HasApp() bool

HasApp returns a boolean if a field has been set.

GetBranch

func (o *PlatformPreviewReq) GetBranch() string

GetBranch returns the Branch field if non-nil, zero value otherwise.

GetBranchOk

func (o *PlatformPreviewReq) GetBranchOk() (*string, bool)

GetBranchOk returns a tuple with the Branch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBranch

func (o *PlatformPreviewReq) SetBranch(v string)

SetBranch sets Branch field to given value.

HasBranch

func (o *PlatformPreviewReq) HasBranch() bool

HasBranch returns a boolean if a field has been set.

GetImage

func (o *PlatformPreviewReq) GetImage() string

GetImage returns the Image field if non-nil, zero value otherwise.

GetImageOk

func (o *PlatformPreviewReq) GetImageOk() (*string, bool)

GetImageOk returns a tuple with the Image field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetImage

func (o *PlatformPreviewReq) SetImage(v string)

SetImage sets Image field to given value.

HasImage

func (o *PlatformPreviewReq) HasImage() bool

HasImage returns a boolean if a field has been set.

GetProject

func (o *PlatformPreviewReq) GetProject() string

GetProject returns the Project field if non-nil, zero value otherwise.

GetProjectOk

func (o *PlatformPreviewReq) GetProjectOk() (*string, bool)

GetProjectOk returns a tuple with the Project field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetProject

func (o *PlatformPreviewReq) SetProject(v string)

SetProject sets Project field to given value.

HasProject

func (o *PlatformPreviewReq) HasProject() bool

HasProject returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]