Name | Type | Description | Notes |
---|---|---|---|
Id | string | 配置ID | |
ResourceId | string | 所属的资源ID | |
GroupId | Pointer to string | 所属的配置组ID | [optional] |
TemplateId | Pointer to string | 配置模板ID | [optional] |
Key | string | 配置项 | |
Value | map[string]interface{} | 配置内容 | |
CreatedAt | time.Time | 创建时间 | |
UpdatedAt | Pointer to time.Time | 最后更新时间 | [optional] |
func NewConfig(id string, resourceId string, key string, value map[string]interface{}, createdAt time.Time, ) *Config
NewConfig instantiates a new Config 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 NewConfigWithDefaults() *Config
NewConfigWithDefaults instantiates a new Config 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 (o *Config) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Config) 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.
func (o *Config) SetId(v string)
SetId sets Id field to given value.
func (o *Config) GetResourceId() string
GetResourceId returns the ResourceId field if non-nil, zero value otherwise.
func (o *Config) GetResourceIdOk() (*string, bool)
GetResourceIdOk returns a tuple with the ResourceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Config) SetResourceId(v string)
SetResourceId sets ResourceId field to given value.
func (o *Config) GetGroupId() string
GetGroupId returns the GroupId field if non-nil, zero value otherwise.
func (o *Config) GetGroupIdOk() (*string, bool)
GetGroupIdOk returns a tuple with the GroupId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Config) SetGroupId(v string)
SetGroupId sets GroupId field to given value.
func (o *Config) HasGroupId() bool
HasGroupId returns a boolean if a field has been set.
func (o *Config) GetTemplateId() string
GetTemplateId returns the TemplateId field if non-nil, zero value otherwise.
func (o *Config) GetTemplateIdOk() (*string, bool)
GetTemplateIdOk returns a tuple with the TemplateId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Config) SetTemplateId(v string)
SetTemplateId sets TemplateId field to given value.
func (o *Config) HasTemplateId() bool
HasTemplateId returns a boolean if a field has been set.
func (o *Config) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *Config) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Config) SetKey(v string)
SetKey sets Key field to given value.
func (o *Config) GetValue() map[string]interface{}
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *Config) GetValueOk() (*map[string]interface{}, 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.
func (o *Config) SetValue(v map[string]interface{})
SetValue sets Value field to given value.
func (o *Config) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *Config) 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.
func (o *Config) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *Config) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *Config) 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.
func (o *Config) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *Config) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.