Documentation ¶
Index ¶
- type BalancePlatformNotificationResponse
- func (o *BalancePlatformNotificationResponse) GetNotificationResponse() string
- func (o *BalancePlatformNotificationResponse) GetNotificationResponseOk() (*string, bool)
- func (o *BalancePlatformNotificationResponse) HasNotificationResponse() bool
- func (o BalancePlatformNotificationResponse) MarshalJSON() ([]byte, error)
- func (o *BalancePlatformNotificationResponse) SetNotificationResponse(v string)
- func (o BalancePlatformNotificationResponse) ToMap() (map[string]interface{}, error)
- type NullableBalancePlatformNotificationResponse
- func (v NullableBalancePlatformNotificationResponse) Get() *BalancePlatformNotificationResponse
- func (v NullableBalancePlatformNotificationResponse) IsSet() bool
- func (v NullableBalancePlatformNotificationResponse) MarshalJSON() ([]byte, error)
- func (v *NullableBalancePlatformNotificationResponse) Set(val *BalancePlatformNotificationResponse)
- func (v *NullableBalancePlatformNotificationResponse) UnmarshalJSON(src []byte) error
- func (v *NullableBalancePlatformNotificationResponse) Unset()
- type NullableReportNotificationData
- func (v NullableReportNotificationData) Get() *ReportNotificationData
- func (v NullableReportNotificationData) IsSet() bool
- func (v NullableReportNotificationData) MarshalJSON() ([]byte, error)
- func (v *NullableReportNotificationData) Set(val *ReportNotificationData)
- func (v *NullableReportNotificationData) UnmarshalJSON(src []byte) error
- func (v *NullableReportNotificationData) Unset()
- type NullableReportNotificationRequest
- func (v NullableReportNotificationRequest) Get() *ReportNotificationRequest
- func (v NullableReportNotificationRequest) IsSet() bool
- func (v NullableReportNotificationRequest) MarshalJSON() ([]byte, error)
- func (v *NullableReportNotificationRequest) Set(val *ReportNotificationRequest)
- func (v *NullableReportNotificationRequest) UnmarshalJSON(src []byte) error
- func (v *NullableReportNotificationRequest) Unset()
- type NullableResource
- type NullableResourceReference
- func (v NullableResourceReference) Get() *ResourceReference
- func (v NullableResourceReference) IsSet() bool
- func (v NullableResourceReference) MarshalJSON() ([]byte, error)
- func (v *NullableResourceReference) Set(val *ResourceReference)
- func (v *NullableResourceReference) UnmarshalJSON(src []byte) error
- func (v *NullableResourceReference) Unset()
- type ReportNotificationData
- func (o *ReportNotificationData) GetAccountHolder() ResourceReference
- func (o *ReportNotificationData) GetAccountHolderOk() (*ResourceReference, bool)
- func (o *ReportNotificationData) GetBalanceAccount() ResourceReference
- func (o *ReportNotificationData) GetBalanceAccountOk() (*ResourceReference, bool)
- func (o *ReportNotificationData) GetBalancePlatform() string
- func (o *ReportNotificationData) GetBalancePlatformOk() (*string, bool)
- func (o *ReportNotificationData) GetCreationDate() time.Time
- func (o *ReportNotificationData) GetCreationDateOk() (*time.Time, bool)
- func (o *ReportNotificationData) GetDownloadUrl() string
- func (o *ReportNotificationData) GetDownloadUrlOk() (*string, bool)
- func (o *ReportNotificationData) GetFileName() string
- func (o *ReportNotificationData) GetFileNameOk() (*string, bool)
- func (o *ReportNotificationData) GetReportType() string
- func (o *ReportNotificationData) GetReportTypeOk() (*string, bool)
- func (o *ReportNotificationData) HasAccountHolder() bool
- func (o *ReportNotificationData) HasBalanceAccount() bool
- func (o *ReportNotificationData) HasBalancePlatform() bool
- func (o *ReportNotificationData) HasCreationDate() bool
- func (o ReportNotificationData) MarshalJSON() ([]byte, error)
- func (o *ReportNotificationData) SetAccountHolder(v ResourceReference)
- func (o *ReportNotificationData) SetBalanceAccount(v ResourceReference)
- func (o *ReportNotificationData) SetBalancePlatform(v string)
- func (o *ReportNotificationData) SetCreationDate(v time.Time)
- func (o *ReportNotificationData) SetDownloadUrl(v string)
- func (o *ReportNotificationData) SetFileName(v string)
- func (o *ReportNotificationData) SetReportType(v string)
- func (o ReportNotificationData) ToMap() (map[string]interface{}, error)
- type ReportNotificationRequest
- func (o *ReportNotificationRequest) GetData() ReportNotificationData
- func (o *ReportNotificationRequest) GetDataOk() (*ReportNotificationData, bool)
- func (o *ReportNotificationRequest) GetEnvironment() string
- func (o *ReportNotificationRequest) GetEnvironmentOk() (*string, bool)
- func (o *ReportNotificationRequest) GetType() string
- func (o *ReportNotificationRequest) GetTypeOk() (*string, bool)
- func (o ReportNotificationRequest) MarshalJSON() ([]byte, error)
- func (o *ReportNotificationRequest) SetData(v ReportNotificationData)
- func (o *ReportNotificationRequest) SetEnvironment(v string)
- func (o *ReportNotificationRequest) SetType(v string)
- func (o ReportNotificationRequest) ToMap() (map[string]interface{}, error)
- type Resource
- func (o *Resource) GetBalancePlatform() string
- func (o *Resource) GetBalancePlatformOk() (*string, bool)
- func (o *Resource) GetCreationDate() time.Time
- func (o *Resource) GetCreationDateOk() (*time.Time, bool)
- func (o *Resource) GetId() string
- func (o *Resource) GetIdOk() (*string, bool)
- func (o *Resource) HasBalancePlatform() bool
- func (o *Resource) HasCreationDate() bool
- func (o *Resource) HasId() bool
- func (o Resource) MarshalJSON() ([]byte, error)
- func (o *Resource) SetBalancePlatform(v string)
- func (o *Resource) SetCreationDate(v time.Time)
- func (o *Resource) SetId(v string)
- func (o Resource) ToMap() (map[string]interface{}, error)
- type ResourceReference
- func (o *ResourceReference) GetDescription() string
- func (o *ResourceReference) GetDescriptionOk() (*string, bool)
- func (o *ResourceReference) GetId() string
- func (o *ResourceReference) GetIdOk() (*string, bool)
- func (o *ResourceReference) GetReference() string
- func (o *ResourceReference) GetReferenceOk() (*string, bool)
- func (o *ResourceReference) HasDescription() bool
- func (o *ResourceReference) HasId() bool
- func (o *ResourceReference) HasReference() bool
- func (o ResourceReference) MarshalJSON() ([]byte, error)
- func (o *ResourceReference) SetDescription(v string)
- func (o *ResourceReference) SetId(v string)
- func (o *ResourceReference) SetReference(v string)
- func (o ResourceReference) ToMap() (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BalancePlatformNotificationResponse ¶
type BalancePlatformNotificationResponse struct { // Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). NotificationResponse *string `json:"notificationResponse,omitempty"` }
BalancePlatformNotificationResponse struct for BalancePlatformNotificationResponse
func NewBalancePlatformNotificationResponse ¶
func NewBalancePlatformNotificationResponse() *BalancePlatformNotificationResponse
NewBalancePlatformNotificationResponse instantiates a new BalancePlatformNotificationResponse 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
func NewBalancePlatformNotificationResponseWithDefaults ¶
func NewBalancePlatformNotificationResponseWithDefaults() *BalancePlatformNotificationResponse
NewBalancePlatformNotificationResponseWithDefaults instantiates a new BalancePlatformNotificationResponse 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
func (*BalancePlatformNotificationResponse) GetNotificationResponse ¶
func (o *BalancePlatformNotificationResponse) GetNotificationResponse() string
GetNotificationResponse returns the NotificationResponse field value if set, zero value otherwise.
func (*BalancePlatformNotificationResponse) GetNotificationResponseOk ¶
func (o *BalancePlatformNotificationResponse) GetNotificationResponseOk() (*string, bool)
GetNotificationResponseOk returns a tuple with the NotificationResponse field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalancePlatformNotificationResponse) HasNotificationResponse ¶
func (o *BalancePlatformNotificationResponse) HasNotificationResponse() bool
HasNotificationResponse returns a boolean if a field has been set.
func (BalancePlatformNotificationResponse) MarshalJSON ¶
func (o BalancePlatformNotificationResponse) MarshalJSON() ([]byte, error)
func (*BalancePlatformNotificationResponse) SetNotificationResponse ¶
func (o *BalancePlatformNotificationResponse) SetNotificationResponse(v string)
SetNotificationResponse gets a reference to the given string and assigns it to the NotificationResponse field.
func (BalancePlatformNotificationResponse) ToMap ¶
func (o BalancePlatformNotificationResponse) ToMap() (map[string]interface{}, error)
type NullableBalancePlatformNotificationResponse ¶
type NullableBalancePlatformNotificationResponse struct {
// contains filtered or unexported fields
}
func NewNullableBalancePlatformNotificationResponse ¶
func NewNullableBalancePlatformNotificationResponse(val *BalancePlatformNotificationResponse) *NullableBalancePlatformNotificationResponse
func (NullableBalancePlatformNotificationResponse) IsSet ¶
func (v NullableBalancePlatformNotificationResponse) IsSet() bool
func (NullableBalancePlatformNotificationResponse) MarshalJSON ¶
func (v NullableBalancePlatformNotificationResponse) MarshalJSON() ([]byte, error)
func (*NullableBalancePlatformNotificationResponse) Set ¶
func (v *NullableBalancePlatformNotificationResponse) Set(val *BalancePlatformNotificationResponse)
func (*NullableBalancePlatformNotificationResponse) UnmarshalJSON ¶
func (v *NullableBalancePlatformNotificationResponse) UnmarshalJSON(src []byte) error
func (*NullableBalancePlatformNotificationResponse) Unset ¶
func (v *NullableBalancePlatformNotificationResponse) Unset()
type NullableReportNotificationData ¶
type NullableReportNotificationData struct {
// contains filtered or unexported fields
}
func NewNullableReportNotificationData ¶
func NewNullableReportNotificationData(val *ReportNotificationData) *NullableReportNotificationData
func (NullableReportNotificationData) Get ¶
func (v NullableReportNotificationData) Get() *ReportNotificationData
func (NullableReportNotificationData) IsSet ¶
func (v NullableReportNotificationData) IsSet() bool
func (NullableReportNotificationData) MarshalJSON ¶
func (v NullableReportNotificationData) MarshalJSON() ([]byte, error)
func (*NullableReportNotificationData) Set ¶
func (v *NullableReportNotificationData) Set(val *ReportNotificationData)
func (*NullableReportNotificationData) UnmarshalJSON ¶
func (v *NullableReportNotificationData) UnmarshalJSON(src []byte) error
func (*NullableReportNotificationData) Unset ¶
func (v *NullableReportNotificationData) Unset()
type NullableReportNotificationRequest ¶
type NullableReportNotificationRequest struct {
// contains filtered or unexported fields
}
func NewNullableReportNotificationRequest ¶
func NewNullableReportNotificationRequest(val *ReportNotificationRequest) *NullableReportNotificationRequest
func (NullableReportNotificationRequest) Get ¶
func (v NullableReportNotificationRequest) Get() *ReportNotificationRequest
func (NullableReportNotificationRequest) IsSet ¶
func (v NullableReportNotificationRequest) IsSet() bool
func (NullableReportNotificationRequest) MarshalJSON ¶
func (v NullableReportNotificationRequest) MarshalJSON() ([]byte, error)
func (*NullableReportNotificationRequest) Set ¶
func (v *NullableReportNotificationRequest) Set(val *ReportNotificationRequest)
func (*NullableReportNotificationRequest) UnmarshalJSON ¶
func (v *NullableReportNotificationRequest) UnmarshalJSON(src []byte) error
func (*NullableReportNotificationRequest) Unset ¶
func (v *NullableReportNotificationRequest) Unset()
type NullableResource ¶
type NullableResource struct {
// contains filtered or unexported fields
}
func NewNullableResource ¶
func NewNullableResource(val *Resource) *NullableResource
func (NullableResource) Get ¶
func (v NullableResource) Get() *Resource
func (NullableResource) IsSet ¶
func (v NullableResource) IsSet() bool
func (NullableResource) MarshalJSON ¶
func (v NullableResource) MarshalJSON() ([]byte, error)
func (*NullableResource) Set ¶
func (v *NullableResource) Set(val *Resource)
func (*NullableResource) UnmarshalJSON ¶
func (v *NullableResource) UnmarshalJSON(src []byte) error
func (*NullableResource) Unset ¶
func (v *NullableResource) Unset()
type NullableResourceReference ¶
type NullableResourceReference struct {
// contains filtered or unexported fields
}
func NewNullableResourceReference ¶
func NewNullableResourceReference(val *ResourceReference) *NullableResourceReference
func (NullableResourceReference) Get ¶
func (v NullableResourceReference) Get() *ResourceReference
func (NullableResourceReference) IsSet ¶
func (v NullableResourceReference) IsSet() bool
func (NullableResourceReference) MarshalJSON ¶
func (v NullableResourceReference) MarshalJSON() ([]byte, error)
func (*NullableResourceReference) Set ¶
func (v *NullableResourceReference) Set(val *ResourceReference)
func (*NullableResourceReference) UnmarshalJSON ¶
func (v *NullableResourceReference) UnmarshalJSON(src []byte) error
func (*NullableResourceReference) Unset ¶
func (v *NullableResourceReference) Unset()
type ReportNotificationData ¶
type ReportNotificationData struct { AccountHolder *ResourceReference `json:"accountHolder,omitempty"` BalanceAccount *ResourceReference `json:"balanceAccount,omitempty"` // The unique identifier of the balance platform. BalancePlatform *string `json:"balancePlatform,omitempty"` // The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. CreationDate *time.Time `json:"creationDate,omitempty"` // The URL at which you can download the report. To download, you must authenticate your GET request with your [API credentials](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/overview). DownloadUrl string `json:"downloadUrl"` // The filename of the report. FileName string `json:"fileName"` // Type of report. ReportType string `json:"reportType"` }
ReportNotificationData struct for ReportNotificationData
func NewReportNotificationData ¶
func NewReportNotificationData(downloadUrl string, fileName string, reportType string) *ReportNotificationData
NewReportNotificationData instantiates a new ReportNotificationData 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
func NewReportNotificationDataWithDefaults ¶
func NewReportNotificationDataWithDefaults() *ReportNotificationData
NewReportNotificationDataWithDefaults instantiates a new ReportNotificationData 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
func (*ReportNotificationData) GetAccountHolder ¶
func (o *ReportNotificationData) GetAccountHolder() ResourceReference
GetAccountHolder returns the AccountHolder field value if set, zero value otherwise.
func (*ReportNotificationData) GetAccountHolderOk ¶
func (o *ReportNotificationData) GetAccountHolderOk() (*ResourceReference, bool)
GetAccountHolderOk returns a tuple with the AccountHolder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReportNotificationData) GetBalanceAccount ¶
func (o *ReportNotificationData) GetBalanceAccount() ResourceReference
GetBalanceAccount returns the BalanceAccount field value if set, zero value otherwise.
func (*ReportNotificationData) GetBalanceAccountOk ¶
func (o *ReportNotificationData) GetBalanceAccountOk() (*ResourceReference, bool)
GetBalanceAccountOk returns a tuple with the BalanceAccount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReportNotificationData) GetBalancePlatform ¶
func (o *ReportNotificationData) GetBalancePlatform() string
GetBalancePlatform returns the BalancePlatform field value if set, zero value otherwise.
func (*ReportNotificationData) GetBalancePlatformOk ¶
func (o *ReportNotificationData) GetBalancePlatformOk() (*string, bool)
GetBalancePlatformOk returns a tuple with the BalancePlatform field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReportNotificationData) GetCreationDate ¶
func (o *ReportNotificationData) GetCreationDate() time.Time
GetCreationDate returns the CreationDate field value if set, zero value otherwise.
func (*ReportNotificationData) GetCreationDateOk ¶
func (o *ReportNotificationData) GetCreationDateOk() (*time.Time, bool)
GetCreationDateOk returns a tuple with the CreationDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReportNotificationData) GetDownloadUrl ¶
func (o *ReportNotificationData) GetDownloadUrl() string
GetDownloadUrl returns the DownloadUrl field value
func (*ReportNotificationData) GetDownloadUrlOk ¶
func (o *ReportNotificationData) GetDownloadUrlOk() (*string, bool)
GetDownloadUrlOk returns a tuple with the DownloadUrl field value and a boolean to check if the value has been set.
func (*ReportNotificationData) GetFileName ¶
func (o *ReportNotificationData) GetFileName() string
GetFileName returns the FileName field value
func (*ReportNotificationData) GetFileNameOk ¶
func (o *ReportNotificationData) GetFileNameOk() (*string, bool)
GetFileNameOk returns a tuple with the FileName field value and a boolean to check if the value has been set.
func (*ReportNotificationData) GetReportType ¶
func (o *ReportNotificationData) GetReportType() string
GetReportType returns the ReportType field value
func (*ReportNotificationData) GetReportTypeOk ¶
func (o *ReportNotificationData) GetReportTypeOk() (*string, bool)
GetReportTypeOk returns a tuple with the ReportType field value and a boolean to check if the value has been set.
func (*ReportNotificationData) HasAccountHolder ¶
func (o *ReportNotificationData) HasAccountHolder() bool
HasAccountHolder returns a boolean if a field has been set.
func (*ReportNotificationData) HasBalanceAccount ¶
func (o *ReportNotificationData) HasBalanceAccount() bool
HasBalanceAccount returns a boolean if a field has been set.
func (*ReportNotificationData) HasBalancePlatform ¶
func (o *ReportNotificationData) HasBalancePlatform() bool
HasBalancePlatform returns a boolean if a field has been set.
func (*ReportNotificationData) HasCreationDate ¶
func (o *ReportNotificationData) HasCreationDate() bool
HasCreationDate returns a boolean if a field has been set.
func (ReportNotificationData) MarshalJSON ¶
func (o ReportNotificationData) MarshalJSON() ([]byte, error)
func (*ReportNotificationData) SetAccountHolder ¶
func (o *ReportNotificationData) SetAccountHolder(v ResourceReference)
SetAccountHolder gets a reference to the given ResourceReference and assigns it to the AccountHolder field.
func (*ReportNotificationData) SetBalanceAccount ¶
func (o *ReportNotificationData) SetBalanceAccount(v ResourceReference)
SetBalanceAccount gets a reference to the given ResourceReference and assigns it to the BalanceAccount field.
func (*ReportNotificationData) SetBalancePlatform ¶
func (o *ReportNotificationData) SetBalancePlatform(v string)
SetBalancePlatform gets a reference to the given string and assigns it to the BalancePlatform field.
func (*ReportNotificationData) SetCreationDate ¶
func (o *ReportNotificationData) SetCreationDate(v time.Time)
SetCreationDate gets a reference to the given time.Time and assigns it to the CreationDate field.
func (*ReportNotificationData) SetDownloadUrl ¶
func (o *ReportNotificationData) SetDownloadUrl(v string)
SetDownloadUrl sets field value
func (*ReportNotificationData) SetFileName ¶
func (o *ReportNotificationData) SetFileName(v string)
SetFileName sets field value
func (*ReportNotificationData) SetReportType ¶
func (o *ReportNotificationData) SetReportType(v string)
SetReportType sets field value
func (ReportNotificationData) ToMap ¶
func (o ReportNotificationData) ToMap() (map[string]interface{}, error)
type ReportNotificationRequest ¶
type ReportNotificationRequest struct { Data ReportNotificationData `json:"data"` // The environment from which the webhook originated. Possible values: **test**, **live**. Environment string `json:"environment"` // Type of webhook. Type string `json:"type"` }
ReportNotificationRequest struct for ReportNotificationRequest
func HandleReportNotificationRequest ¶
func HandleReportNotificationRequest(req string) (*ReportNotificationRequest, error)
HandleReportNotificationRequest creates a Notification object from the given JSON string
func NewReportNotificationRequest ¶
func NewReportNotificationRequest(data ReportNotificationData, environment string, type_ string) *ReportNotificationRequest
NewReportNotificationRequest instantiates a new ReportNotificationRequest 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
func NewReportNotificationRequestWithDefaults ¶
func NewReportNotificationRequestWithDefaults() *ReportNotificationRequest
NewReportNotificationRequestWithDefaults instantiates a new ReportNotificationRequest 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
func (*ReportNotificationRequest) GetData ¶
func (o *ReportNotificationRequest) GetData() ReportNotificationData
GetData returns the Data field value
func (*ReportNotificationRequest) GetDataOk ¶
func (o *ReportNotificationRequest) GetDataOk() (*ReportNotificationData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*ReportNotificationRequest) GetEnvironment ¶
func (o *ReportNotificationRequest) GetEnvironment() string
GetEnvironment returns the Environment field value
func (*ReportNotificationRequest) GetEnvironmentOk ¶
func (o *ReportNotificationRequest) GetEnvironmentOk() (*string, bool)
GetEnvironmentOk returns a tuple with the Environment field value and a boolean to check if the value has been set.
func (*ReportNotificationRequest) GetType ¶
func (o *ReportNotificationRequest) GetType() string
GetType returns the Type field value
func (*ReportNotificationRequest) GetTypeOk ¶
func (o *ReportNotificationRequest) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (ReportNotificationRequest) MarshalJSON ¶
func (o ReportNotificationRequest) MarshalJSON() ([]byte, error)
func (*ReportNotificationRequest) SetData ¶
func (o *ReportNotificationRequest) SetData(v ReportNotificationData)
SetData sets field value
func (*ReportNotificationRequest) SetEnvironment ¶
func (o *ReportNotificationRequest) SetEnvironment(v string)
SetEnvironment sets field value
func (*ReportNotificationRequest) SetType ¶
func (o *ReportNotificationRequest) SetType(v string)
SetType sets field value
func (ReportNotificationRequest) ToMap ¶
func (o ReportNotificationRequest) ToMap() (map[string]interface{}, error)
type Resource ¶
type Resource struct { // The unique identifier of the balance platform. BalancePlatform *string `json:"balancePlatform,omitempty"` // The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. CreationDate *time.Time `json:"creationDate,omitempty"` // The ID of the resource. Id *string `json:"id,omitempty"` }
Resource struct for Resource
func NewResource ¶
func NewResource() *Resource
NewResource instantiates a new Resource 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
func NewResourceWithDefaults ¶
func NewResourceWithDefaults() *Resource
NewResourceWithDefaults instantiates a new Resource 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
func (*Resource) GetBalancePlatform ¶
GetBalancePlatform returns the BalancePlatform field value if set, zero value otherwise.
func (*Resource) GetBalancePlatformOk ¶
GetBalancePlatformOk returns a tuple with the BalancePlatform field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Resource) GetCreationDate ¶
GetCreationDate returns the CreationDate field value if set, zero value otherwise.
func (*Resource) GetCreationDateOk ¶
GetCreationDateOk returns a tuple with the CreationDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Resource) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Resource) HasBalancePlatform ¶
HasBalancePlatform returns a boolean if a field has been set.
func (*Resource) HasCreationDate ¶
HasCreationDate returns a boolean if a field has been set.
func (Resource) MarshalJSON ¶
func (*Resource) SetBalancePlatform ¶
SetBalancePlatform gets a reference to the given string and assigns it to the BalancePlatform field.
func (*Resource) SetCreationDate ¶
SetCreationDate gets a reference to the given time.Time and assigns it to the CreationDate field.
type ResourceReference ¶
type ResourceReference struct { // The description of the resource. Description *string `json:"description,omitempty"` // The unique identifier of the resource. Id *string `json:"id,omitempty"` // The reference for the resource. Reference *string `json:"reference,omitempty"` }
ResourceReference struct for ResourceReference
func NewResourceReference ¶
func NewResourceReference() *ResourceReference
NewResourceReference instantiates a new ResourceReference 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
func NewResourceReferenceWithDefaults ¶
func NewResourceReferenceWithDefaults() *ResourceReference
NewResourceReferenceWithDefaults instantiates a new ResourceReference 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
func (*ResourceReference) GetDescription ¶
func (o *ResourceReference) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ResourceReference) GetDescriptionOk ¶
func (o *ResourceReference) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResourceReference) GetId ¶
func (o *ResourceReference) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ResourceReference) GetIdOk ¶
func (o *ResourceReference) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResourceReference) GetReference ¶
func (o *ResourceReference) GetReference() string
GetReference returns the Reference field value if set, zero value otherwise.
func (*ResourceReference) GetReferenceOk ¶
func (o *ResourceReference) GetReferenceOk() (*string, bool)
GetReferenceOk returns a tuple with the Reference field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResourceReference) HasDescription ¶
func (o *ResourceReference) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ResourceReference) HasId ¶
func (o *ResourceReference) HasId() bool
HasId returns a boolean if a field has been set.
func (*ResourceReference) HasReference ¶
func (o *ResourceReference) HasReference() bool
HasReference returns a boolean if a field has been set.
func (ResourceReference) MarshalJSON ¶
func (o ResourceReference) MarshalJSON() ([]byte, error)
func (*ResourceReference) SetDescription ¶
func (o *ResourceReference) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ResourceReference) SetId ¶
func (o *ResourceReference) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ResourceReference) SetReference ¶
func (o *ResourceReference) SetReference(v string)
SetReference gets a reference to the given string and assigns it to the Reference field.
func (ResourceReference) ToMap ¶
func (o ResourceReference) ToMap() (map[string]interface{}, error)