| Name | Type | Description | Notes |
|---|---|---|---|
| Active | Pointer to bool | flag to indicate if the agent is active | [optional] |
| Cluster | ClusterMeta | ||
| Sharing | Pointer to SharingSpec | [optional] | |
| Type | string | type of agent | [default to "Cluster"] |
| Version | Pointer to string | version of agent | [optional] |
func NewAgentSpec(cluster ClusterMeta, type_ string, ) *AgentSpec
NewAgentSpec instantiates a new AgentSpec 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 NewAgentSpecWithDefaults() *AgentSpec
NewAgentSpecWithDefaults instantiates a new AgentSpec 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 *AgentSpec) GetActive() bool
GetActive returns the Active field if non-nil, zero value otherwise.
func (o *AgentSpec) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AgentSpec) SetActive(v bool)
SetActive sets Active field to given value.
func (o *AgentSpec) HasActive() bool
HasActive returns a boolean if a field has been set.
func (o *AgentSpec) GetCluster() ClusterMeta
GetCluster returns the Cluster field if non-nil, zero value otherwise.
func (o *AgentSpec) GetClusterOk() (*ClusterMeta, bool)
GetClusterOk returns a tuple with the Cluster field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AgentSpec) SetCluster(v ClusterMeta)
SetCluster sets Cluster field to given value.
func (o *AgentSpec) GetSharing() SharingSpec
GetSharing returns the Sharing field if non-nil, zero value otherwise.
func (o *AgentSpec) GetSharingOk() (*SharingSpec, bool)
GetSharingOk returns a tuple with the Sharing field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AgentSpec) SetSharing(v SharingSpec)
SetSharing sets Sharing field to given value.
func (o *AgentSpec) HasSharing() bool
HasSharing returns a boolean if a field has been set.
func (o *AgentSpec) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *AgentSpec) 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.
func (o *AgentSpec) SetType(v string)
SetType sets Type field to given value.
func (o *AgentSpec) GetVersion() string
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *AgentSpec) GetVersionOk() (*string, 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.
func (o *AgentSpec) SetVersion(v string)
SetVersion sets Version field to given value.
func (o *AgentSpec) HasVersion() bool
HasVersion returns a boolean if a field has been set.