Skip to content

Latest commit

 

History

History
380 lines (209 loc) · 10.5 KB

ServiceResponse.md

File metadata and controls

380 lines (209 loc) · 10.5 KB

ServiceResponse

Properties

Name Type Description Notes
CreatedAt Pointer to NullableTime Date and time in ISO 8601 format. [optional] [readonly]
DeletedAt Pointer to NullableTime Date and time in ISO 8601 format. [optional] [readonly]
UpdatedAt Pointer to NullableTime Date and time in ISO 8601 format. [optional] [readonly]
Comment Pointer to NullableString A freeform descriptive note. [optional]
Name Pointer to string The name of the service. [optional]
CustomerID Pointer to string Alphanumeric string identifying the customer. [optional]
Type Pointer to string The type of this service. [optional]
ID Pointer to string [optional] [readonly]
PublishKey Pointer to string Unused at this time. [optional]
Paused Pointer to bool Whether the service is paused. Services are paused due to a lack of traffic for an extended period of time. Services are resumed either when a draft version is activated or a locked version is cloned and reactivated. [optional]
Versions Pointer to []SchemasVersionResponse A list of versions associated with the service. [optional]
Environments Pointer to []Environment A list of environments where the service has been deployed. [optional]

Methods

NewServiceResponse

func NewServiceResponse() *ServiceResponse

NewServiceResponse instantiates a new ServiceResponse 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

NewServiceResponseWithDefaults

func NewServiceResponseWithDefaults() *ServiceResponse

NewServiceResponseWithDefaults instantiates a new ServiceResponse 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

GetCreatedAt

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

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

GetCreatedAtOk

func (o *ServiceResponse) 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 *ServiceResponse) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *ServiceResponse) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

SetCreatedAtNil

func (o *ServiceResponse) SetCreatedAtNil(b bool)

SetCreatedAtNil sets the value for CreatedAt to be an explicit nil

UnsetCreatedAt

func (o *ServiceResponse) UnsetCreatedAt()

UnsetCreatedAt ensures that no value is present for CreatedAt, not even an explicit nil

GetDeletedAt

func (o *ServiceResponse) GetDeletedAt() time.Time

GetDeletedAt returns the DeletedAt field if non-nil, zero value otherwise.

GetDeletedAtOk

func (o *ServiceResponse) GetDeletedAtOk() (*time.Time, bool)

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

SetDeletedAt

func (o *ServiceResponse) SetDeletedAt(v time.Time)

SetDeletedAt sets DeletedAt field to given value.

HasDeletedAt

func (o *ServiceResponse) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

SetDeletedAtNil

func (o *ServiceResponse) SetDeletedAtNil(b bool)

SetDeletedAtNil sets the value for DeletedAt to be an explicit nil

UnsetDeletedAt

func (o *ServiceResponse) UnsetDeletedAt()

UnsetDeletedAt ensures that no value is present for DeletedAt, not even an explicit nil

GetUpdatedAt

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

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

GetUpdatedAtOk

func (o *ServiceResponse) 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 *ServiceResponse) SetUpdatedAt(v time.Time)

SetUpdatedAt sets UpdatedAt field to given value.

HasUpdatedAt

func (o *ServiceResponse) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

SetUpdatedAtNil

func (o *ServiceResponse) SetUpdatedAtNil(b bool)

SetUpdatedAtNil sets the value for UpdatedAt to be an explicit nil

UnsetUpdatedAt

func (o *ServiceResponse) UnsetUpdatedAt()

UnsetUpdatedAt ensures that no value is present for UpdatedAt, not even an explicit nil

GetComment

func (o *ServiceResponse) GetComment() string

GetComment returns the Comment field if non-nil, zero value otherwise.

GetCommentOk

func (o *ServiceResponse) GetCommentOk() (*string, bool)

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

SetComment

func (o *ServiceResponse) SetComment(v string)

SetComment sets Comment field to given value.

HasComment

func (o *ServiceResponse) HasComment() bool

HasComment returns a boolean if a field has been set.

SetCommentNil

func (o *ServiceResponse) SetCommentNil(b bool)

SetCommentNil sets the value for Comment to be an explicit nil

UnsetComment

func (o *ServiceResponse) UnsetComment()

UnsetComment ensures that no value is present for Comment, not even an explicit nil

GetName

func (o *ServiceResponse) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *ServiceResponse) GetNameOk() (*string, bool)

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

SetName

func (o *ServiceResponse) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *ServiceResponse) HasName() bool

HasName returns a boolean if a field has been set.

GetCustomerID

func (o *ServiceResponse) GetCustomerID() string

GetCustomerID returns the CustomerID field if non-nil, zero value otherwise.

GetCustomerIDOk

func (o *ServiceResponse) GetCustomerIDOk() (*string, bool)

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

SetCustomerID

func (o *ServiceResponse) SetCustomerID(v string)

SetCustomerID sets CustomerID field to given value.

HasCustomerID

func (o *ServiceResponse) HasCustomerID() bool

HasCustomerID returns a boolean if a field has been set.

GetType

func (o *ServiceResponse) GetType() string

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

GetTypeOk

func (o *ServiceResponse) GetTypeOk() (*string, 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 *ServiceResponse) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *ServiceResponse) HasType() bool

HasType returns a boolean if a field has been set.

GetID

func (o *ServiceResponse) GetID() string

GetID returns the ID field if non-nil, zero value otherwise.

GetIDOk

func (o *ServiceResponse) 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 *ServiceResponse) SetID(v string)

SetID sets ID field to given value.

HasID

func (o *ServiceResponse) HasID() bool

HasID returns a boolean if a field has been set.

GetPublishKey

func (o *ServiceResponse) GetPublishKey() string

GetPublishKey returns the PublishKey field if non-nil, zero value otherwise.

GetPublishKeyOk

func (o *ServiceResponse) GetPublishKeyOk() (*string, bool)

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

SetPublishKey

func (o *ServiceResponse) SetPublishKey(v string)

SetPublishKey sets PublishKey field to given value.

HasPublishKey

func (o *ServiceResponse) HasPublishKey() bool

HasPublishKey returns a boolean if a field has been set.

GetPaused

func (o *ServiceResponse) GetPaused() bool

GetPaused returns the Paused field if non-nil, zero value otherwise.

GetPausedOk

func (o *ServiceResponse) GetPausedOk() (*bool, bool)

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

SetPaused

func (o *ServiceResponse) SetPaused(v bool)

SetPaused sets Paused field to given value.

HasPaused

func (o *ServiceResponse) HasPaused() bool

HasPaused returns a boolean if a field has been set.

GetVersions

func (o *ServiceResponse) GetVersions() []SchemasVersionResponse

GetVersions returns the Versions field if non-nil, zero value otherwise.

GetVersionsOk

func (o *ServiceResponse) GetVersionsOk() (*[]SchemasVersionResponse, bool)

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

SetVersions

func (o *ServiceResponse) SetVersions(v []SchemasVersionResponse)

SetVersions sets Versions field to given value.

HasVersions

func (o *ServiceResponse) HasVersions() bool

HasVersions returns a boolean if a field has been set.

GetEnvironments

func (o *ServiceResponse) GetEnvironments() []Environment

GetEnvironments returns the Environments field if non-nil, zero value otherwise.

GetEnvironmentsOk

func (o *ServiceResponse) GetEnvironmentsOk() (*[]Environment, bool)

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

SetEnvironments

func (o *ServiceResponse) SetEnvironments(v []Environment)

SetEnvironments sets Environments field to given value.

HasEnvironments

func (o *ServiceResponse) HasEnvironments() bool

HasEnvironments returns a boolean if a field has been set.

Back to API list | Back to README