Skip to content

Latest commit

 

History

History
240 lines (133 loc) · 6.49 KB

PackageResponse.md

File metadata and controls

240 lines (133 loc) · 6.49 KB

PackageResponse

Properties

Name Type Description Notes
Metadata Pointer to PackageMetadata [optional]
ServiceID Pointer to string [optional] [readonly]
Version Pointer to int32 [optional] [readonly]
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]
ID Pointer to string Alphanumeric string identifying the package. [optional] [readonly]

Methods

NewPackageResponse

func NewPackageResponse() *PackageResponse

NewPackageResponse instantiates a new PackageResponse 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

NewPackageResponseWithDefaults

func NewPackageResponseWithDefaults() *PackageResponse

NewPackageResponseWithDefaults instantiates a new PackageResponse 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

GetMetadata

func (o *PackageResponse) GetMetadata() PackageMetadata

GetMetadata returns the Metadata field if non-nil, zero value otherwise.

GetMetadataOk

func (o *PackageResponse) GetMetadataOk() (*PackageMetadata, bool)

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

SetMetadata

func (o *PackageResponse) SetMetadata(v PackageMetadata)

SetMetadata sets Metadata field to given value.

HasMetadata

func (o *PackageResponse) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

GetServiceID

func (o *PackageResponse) GetServiceID() string

GetServiceID returns the ServiceID field if non-nil, zero value otherwise.

GetServiceIDOk

func (o *PackageResponse) GetServiceIDOk() (*string, bool)

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

SetServiceID

func (o *PackageResponse) SetServiceID(v string)

SetServiceID sets ServiceID field to given value.

HasServiceID

func (o *PackageResponse) HasServiceID() bool

HasServiceID returns a boolean if a field has been set.

GetVersion

func (o *PackageResponse) GetVersion() int32

GetVersion returns the Version field if non-nil, zero value otherwise.

GetVersionOk

func (o *PackageResponse) GetVersionOk() (*int32, bool)

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

SetVersion

func (o *PackageResponse) SetVersion(v int32)

SetVersion sets Version field to given value.

HasVersion

func (o *PackageResponse) HasVersion() bool

HasVersion returns a boolean if a field has been set.

GetCreatedAt

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

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

GetCreatedAtOk

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

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *PackageResponse) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

SetCreatedAtNil

func (o *PackageResponse) SetCreatedAtNil(b bool)

SetCreatedAtNil sets the value for CreatedAt to be an explicit nil

UnsetCreatedAt

func (o *PackageResponse) UnsetCreatedAt()

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

GetDeletedAt

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

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

GetDeletedAtOk

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

SetDeletedAt sets DeletedAt field to given value.

HasDeletedAt

func (o *PackageResponse) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

SetDeletedAtNil

func (o *PackageResponse) SetDeletedAtNil(b bool)

SetDeletedAtNil sets the value for DeletedAt to be an explicit nil

UnsetDeletedAt

func (o *PackageResponse) UnsetDeletedAt()

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

GetUpdatedAt

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

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

GetUpdatedAtOk

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

SetUpdatedAt sets UpdatedAt field to given value.

HasUpdatedAt

func (o *PackageResponse) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

SetUpdatedAtNil

func (o *PackageResponse) SetUpdatedAtNil(b bool)

SetUpdatedAtNil sets the value for UpdatedAt to be an explicit nil

UnsetUpdatedAt

func (o *PackageResponse) UnsetUpdatedAt()

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

GetID

func (o *PackageResponse) GetID() string

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

GetIDOk

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

SetID sets ID field to given value.

HasID

func (o *PackageResponse) HasID() bool

HasID returns a boolean if a field has been set.

Back to API list | Back to README