Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | Unique identifier of the data source to create. | [optional] |
Name | Pointer to string | The human readable name of the data source to create. | [optional] |
Description | Pointer to string | Description of the goal of the data source to create. | [optional] |
Enabled | Pointer to bool | Enable or disable data source. | [optional] |
UpdateTimeout | Pointer to int32 | Duration in seconds before aborting data source update. The main goal is to prevent never ending requests. If a periodicity if configured, you should set that timeout at a lower value. | [optional] |
RunParameters | Pointer to DatasourceRunParameters | [optional] | |
Type | Pointer to DatasourceType | [optional] |
func NewDatasource() *Datasource
NewDatasource instantiates a new Datasource 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 NewDatasourceWithDefaults() *Datasource
NewDatasourceWithDefaults instantiates a new Datasource 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 *Datasource) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Datasource) 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 *Datasource) SetId(v string)
SetId sets Id field to given value.
func (o *Datasource) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Datasource) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Datasource) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Datasource) SetName(v string)
SetName sets Name field to given value.
func (o *Datasource) HasName() bool
HasName returns a boolean if a field has been set.
func (o *Datasource) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Datasource) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Datasource) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Datasource) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *Datasource) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *Datasource) 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.
func (o *Datasource) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *Datasource) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *Datasource) GetUpdateTimeout() int32
GetUpdateTimeout returns the UpdateTimeout field if non-nil, zero value otherwise.
func (o *Datasource) GetUpdateTimeoutOk() (*int32, bool)
GetUpdateTimeoutOk returns a tuple with the UpdateTimeout field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Datasource) SetUpdateTimeout(v int32)
SetUpdateTimeout sets UpdateTimeout field to given value.
func (o *Datasource) HasUpdateTimeout() bool
HasUpdateTimeout returns a boolean if a field has been set.
func (o *Datasource) GetRunParameters() DatasourceRunParameters
GetRunParameters returns the RunParameters field if non-nil, zero value otherwise.
func (o *Datasource) GetRunParametersOk() (*DatasourceRunParameters, bool)
GetRunParametersOk returns a tuple with the RunParameters field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Datasource) SetRunParameters(v DatasourceRunParameters)
SetRunParameters sets RunParameters field to given value.
func (o *Datasource) HasRunParameters() bool
HasRunParameters returns a boolean if a field has been set.
func (o *Datasource) GetType() DatasourceType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *Datasource) GetTypeOk() (*DatasourceType, 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 *Datasource) SetType(v DatasourceType)
SetType sets Type field to given value.
func (o *Datasource) HasType() bool
HasType returns a boolean if a field has been set.