Skip to content

Latest commit

 

History

History
161 lines (86 loc) · 4.91 KB

ApplicationDeploymentRestriction.md

File metadata and controls

161 lines (86 loc) · 4.91 KB

ApplicationDeploymentRestriction

Properties

Name Type Description Notes
Id string [readonly]
CreatedAt time.Time [readonly]
UpdatedAt Pointer to time.Time [optional] [readonly]
Mode DeploymentRestrictionModeEnum
Type DeploymentRestrictionTypeEnum
Value string For `PATH` restrictions, the value must not start with `/`

Methods

NewApplicationDeploymentRestriction

func NewApplicationDeploymentRestriction(id string, createdAt time.Time, mode DeploymentRestrictionModeEnum, type_ DeploymentRestrictionTypeEnum, value string, ) *ApplicationDeploymentRestriction

NewApplicationDeploymentRestriction instantiates a new ApplicationDeploymentRestriction 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

NewApplicationDeploymentRestrictionWithDefaults

func NewApplicationDeploymentRestrictionWithDefaults() *ApplicationDeploymentRestriction

NewApplicationDeploymentRestrictionWithDefaults instantiates a new ApplicationDeploymentRestriction 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

GetId

func (o *ApplicationDeploymentRestriction) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *ApplicationDeploymentRestriction) GetIdOk() (*string, bool)

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

SetId

func (o *ApplicationDeploymentRestriction) SetId(v string)

SetId sets Id field to given value.

GetCreatedAt

func (o *ApplicationDeploymentRestriction) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *ApplicationDeploymentRestriction) GetCreatedAtOk() (*time.Time, bool)

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

SetCreatedAt

func (o *ApplicationDeploymentRestriction) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

GetUpdatedAt

func (o *ApplicationDeploymentRestriction) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.

GetUpdatedAtOk

func (o *ApplicationDeploymentRestriction) GetUpdatedAtOk() (*time.Time, bool)

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

SetUpdatedAt

func (o *ApplicationDeploymentRestriction) SetUpdatedAt(v time.Time)

SetUpdatedAt sets UpdatedAt field to given value.

HasUpdatedAt

func (o *ApplicationDeploymentRestriction) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

GetMode

func (o *ApplicationDeploymentRestriction) GetMode() DeploymentRestrictionModeEnum

GetMode returns the Mode field if non-nil, zero value otherwise.

GetModeOk

func (o *ApplicationDeploymentRestriction) GetModeOk() (*DeploymentRestrictionModeEnum, bool)

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

SetMode

func (o *ApplicationDeploymentRestriction) SetMode(v DeploymentRestrictionModeEnum)

SetMode sets Mode field to given value.

GetType

func (o *ApplicationDeploymentRestriction) GetType() DeploymentRestrictionTypeEnum

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *ApplicationDeploymentRestriction) GetTypeOk() (*DeploymentRestrictionTypeEnum, bool)

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

SetType

func (o *ApplicationDeploymentRestriction) SetType(v DeploymentRestrictionTypeEnum)

SetType sets Type field to given value.

GetValue

func (o *ApplicationDeploymentRestriction) GetValue() string

GetValue returns the Value field if non-nil, zero value otherwise.

GetValueOk

func (o *ApplicationDeploymentRestriction) GetValueOk() (*string, bool)

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

SetValue

func (o *ApplicationDeploymentRestriction) SetValue(v string)

SetValue sets Value field to given value.

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