Skip to content

Latest commit

 

History

History
182 lines (97 loc) · 5.37 KB

DataSource.md

File metadata and controls

182 lines (97 loc) · 5.37 KB

DataSource

Properties

Name Type Description Notes
CreatedAt string The UTC time at which the DataSource was created.
DataSourceConfig map[string]interface{} The properties describing the configuration details for the given DataSourceType.
DataSourceType string The DataSourceType describing the type of durable storage system this DataSource pulls record sequences from.
ResourceId string The Ambar resourceId corresponding to this DataSource.
State string The ResourceState of this DataSource. For possible values see ResourceState in our developer docs.
Description Pointer to string A user friendly description of this DataSource. [optional]
FilterIds []string The Ambar ResourceIds of filters which refer to this DataSource.

Methods

NewDataSource

func NewDataSource(createdAt string, dataSourceConfig map[string]interface{}, dataSourceType string, resourceId string, state string, filterIds []string, ) *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

NewDataSourceWithDefaults

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

GetCreatedAt

func (o *DataSource) GetCreatedAt() string

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

GetCreatedAtOk

func (o *DataSource) GetCreatedAtOk() (*string, 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 *DataSource) SetCreatedAt(v string)

SetCreatedAt sets CreatedAt field to given value.

GetDataSourceConfig

func (o *DataSource) GetDataSourceConfig() map[string]interface{}

GetDataSourceConfig returns the DataSourceConfig field if non-nil, zero value otherwise.

GetDataSourceConfigOk

func (o *DataSource) GetDataSourceConfigOk() (*map[string]interface{}, bool)

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

SetDataSourceConfig

func (o *DataSource) SetDataSourceConfig(v map[string]interface{})

SetDataSourceConfig sets DataSourceConfig field to given value.

GetDataSourceType

func (o *DataSource) GetDataSourceType() string

GetDataSourceType returns the DataSourceType field if non-nil, zero value otherwise.

GetDataSourceTypeOk

func (o *DataSource) GetDataSourceTypeOk() (*string, bool)

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

SetDataSourceType

func (o *DataSource) SetDataSourceType(v string)

SetDataSourceType sets DataSourceType field to given value.

GetResourceId

func (o *DataSource) GetResourceId() string

GetResourceId returns the ResourceId field if non-nil, zero value otherwise.

GetResourceIdOk

func (o *DataSource) 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.

SetResourceId

func (o *DataSource) SetResourceId(v string)

SetResourceId sets ResourceId field to given value.

GetState

func (o *DataSource) GetState() string

GetState returns the State field if non-nil, zero value otherwise.

GetStateOk

func (o *DataSource) GetStateOk() (*string, bool)

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

SetState

func (o *DataSource) SetState(v string)

SetState sets State field to given value.

GetDescription

func (o *DataSource) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

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.

SetDescription

func (o *DataSource) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *DataSource) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetFilterIds

func (o *DataSource) GetFilterIds() []string

GetFilterIds returns the FilterIds field if non-nil, zero value otherwise.

GetFilterIdsOk

func (o *DataSource) GetFilterIdsOk() (*[]string, bool)

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

SetFilterIds

func (o *DataSource) SetFilterIds(v []string)

SetFilterIds sets FilterIds field to given value.

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