Name | Type | Description | Notes |
---|---|---|---|
CollectionName | string | MongoDB collection name. | |
DatabaseName | string | MongoDB database name containing this collection. | |
RetrieveFullDocument | Pointer to bool | Whether to get the full document from the MongoDB change stream to enable multi-field expression transformations. Selecting this option will increase load on your upstream MongoDB database. | [optional] |
Status | Pointer to StatusMongoDb | [optional] |
func NewSourceMongoDb(collectionName string, databaseName string, ) *SourceMongoDb
NewSourceMongoDb instantiates a new SourceMongoDb 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 NewSourceMongoDbWithDefaults() *SourceMongoDb
NewSourceMongoDbWithDefaults instantiates a new SourceMongoDb 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 *SourceMongoDb) GetCollectionName() string
GetCollectionName returns the CollectionName field if non-nil, zero value otherwise.
func (o *SourceMongoDb) GetCollectionNameOk() (*string, bool)
GetCollectionNameOk returns a tuple with the CollectionName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SourceMongoDb) SetCollectionName(v string)
SetCollectionName sets CollectionName field to given value.
func (o *SourceMongoDb) GetDatabaseName() string
GetDatabaseName returns the DatabaseName field if non-nil, zero value otherwise.
func (o *SourceMongoDb) GetDatabaseNameOk() (*string, bool)
GetDatabaseNameOk returns a tuple with the DatabaseName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SourceMongoDb) SetDatabaseName(v string)
SetDatabaseName sets DatabaseName field to given value.
func (o *SourceMongoDb) GetRetrieveFullDocument() bool
GetRetrieveFullDocument returns the RetrieveFullDocument field if non-nil, zero value otherwise.
func (o *SourceMongoDb) GetRetrieveFullDocumentOk() (*bool, bool)
GetRetrieveFullDocumentOk returns a tuple with the RetrieveFullDocument field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SourceMongoDb) SetRetrieveFullDocument(v bool)
SetRetrieveFullDocument sets RetrieveFullDocument field to given value.
func (o *SourceMongoDb) HasRetrieveFullDocument() bool
HasRetrieveFullDocument returns a boolean if a field has been set.
func (o *SourceMongoDb) GetStatus() StatusMongoDb
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *SourceMongoDb) GetStatusOk() (*StatusMongoDb, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SourceMongoDb) SetStatus(v StatusMongoDb)
SetStatus sets Status field to given value.
func (o *SourceMongoDb) HasStatus() bool
HasStatus returns a boolean if a field has been set.