Skip to content

Latest commit

 

History

History
259 lines (140 loc) · 7.33 KB

File metadata and controls

259 lines (140 loc) · 7.33 KB

KedaScalerResponse

Properties

Name Type Description Notes
Id string [readonly]
CreatedAt time.Time [readonly]
UpdatedAt Pointer to time.Time [optional] [readonly]
ScalerType string
Enabled bool
Role KedaScalerRole
ConfigJson Pointer to map[string]interface{} [optional]
ConfigYaml Pointer to NullableString [optional]
TriggerAuthentication Pointer to KedaTriggerAuthenticationResponse [optional]

Methods

NewKedaScalerResponse

func NewKedaScalerResponse(id string, createdAt time.Time, scalerType string, enabled bool, role KedaScalerRole, ) *KedaScalerResponse

NewKedaScalerResponse instantiates a new KedaScalerResponse 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

NewKedaScalerResponseWithDefaults

func NewKedaScalerResponseWithDefaults() *KedaScalerResponse

NewKedaScalerResponseWithDefaults instantiates a new KedaScalerResponse 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 *KedaScalerResponse) GetId() string

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

GetIdOk

func (o *KedaScalerResponse) 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 *KedaScalerResponse) SetId(v string)

SetId sets Id field to given value.

GetCreatedAt

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

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

GetCreatedAtOk

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

SetCreatedAt sets CreatedAt field to given value.

GetUpdatedAt

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

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

GetUpdatedAtOk

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

SetUpdatedAt sets UpdatedAt field to given value.

HasUpdatedAt

func (o *KedaScalerResponse) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

GetScalerType

func (o *KedaScalerResponse) GetScalerType() string

GetScalerType returns the ScalerType field if non-nil, zero value otherwise.

GetScalerTypeOk

func (o *KedaScalerResponse) GetScalerTypeOk() (*string, bool)

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

SetScalerType

func (o *KedaScalerResponse) SetScalerType(v string)

SetScalerType sets ScalerType field to given value.

GetEnabled

func (o *KedaScalerResponse) GetEnabled() bool

GetEnabled returns the Enabled field if non-nil, zero value otherwise.

GetEnabledOk

func (o *KedaScalerResponse) GetEnabledOk() (*bool, bool)

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

SetEnabled

func (o *KedaScalerResponse) SetEnabled(v bool)

SetEnabled sets Enabled field to given value.

GetRole

func (o *KedaScalerResponse) GetRole() KedaScalerRole

GetRole returns the Role field if non-nil, zero value otherwise.

GetRoleOk

func (o *KedaScalerResponse) GetRoleOk() (*KedaScalerRole, bool)

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

SetRole

func (o *KedaScalerResponse) SetRole(v KedaScalerRole)

SetRole sets Role field to given value.

GetConfigJson

func (o *KedaScalerResponse) GetConfigJson() map[string]interface{}

GetConfigJson returns the ConfigJson field if non-nil, zero value otherwise.

GetConfigJsonOk

func (o *KedaScalerResponse) GetConfigJsonOk() (*map[string]interface{}, bool)

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

SetConfigJson

func (o *KedaScalerResponse) SetConfigJson(v map[string]interface{})

SetConfigJson sets ConfigJson field to given value.

HasConfigJson

func (o *KedaScalerResponse) HasConfigJson() bool

HasConfigJson returns a boolean if a field has been set.

SetConfigJsonNil

func (o *KedaScalerResponse) SetConfigJsonNil(b bool)

SetConfigJsonNil sets the value for ConfigJson to be an explicit nil

UnsetConfigJson

func (o *KedaScalerResponse) UnsetConfigJson()

UnsetConfigJson ensures that no value is present for ConfigJson, not even an explicit nil

GetConfigYaml

func (o *KedaScalerResponse) GetConfigYaml() string

GetConfigYaml returns the ConfigYaml field if non-nil, zero value otherwise.

GetConfigYamlOk

func (o *KedaScalerResponse) GetConfigYamlOk() (*string, bool)

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

SetConfigYaml

func (o *KedaScalerResponse) SetConfigYaml(v string)

SetConfigYaml sets ConfigYaml field to given value.

HasConfigYaml

func (o *KedaScalerResponse) HasConfigYaml() bool

HasConfigYaml returns a boolean if a field has been set.

SetConfigYamlNil

func (o *KedaScalerResponse) SetConfigYamlNil(b bool)

SetConfigYamlNil sets the value for ConfigYaml to be an explicit nil

UnsetConfigYaml

func (o *KedaScalerResponse) UnsetConfigYaml()

UnsetConfigYaml ensures that no value is present for ConfigYaml, not even an explicit nil

GetTriggerAuthentication

func (o *KedaScalerResponse) GetTriggerAuthentication() KedaTriggerAuthenticationResponse

GetTriggerAuthentication returns the TriggerAuthentication field if non-nil, zero value otherwise.

GetTriggerAuthenticationOk

func (o *KedaScalerResponse) GetTriggerAuthenticationOk() (*KedaTriggerAuthenticationResponse, bool)

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

SetTriggerAuthentication

func (o *KedaScalerResponse) SetTriggerAuthentication(v KedaTriggerAuthenticationResponse)

SetTriggerAuthentication sets TriggerAuthentication field to given value.

HasTriggerAuthentication

func (o *KedaScalerResponse) HasTriggerAuthentication() bool

HasTriggerAuthentication returns a boolean if a field has been set.

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