Name | Type | Description | Notes |
---|---|---|---|
Handle | string | ||
DrainType | string | ||
DrainHost | Pointer to string | For syslog-tls-tcp drains | [optional] |
DrainPort | Pointer to int32 | For syslog-tls-tcp drains | [optional] |
DrainUsername | Pointer to string | DEPRECATED: For legacy Elasticsearch drains | [optional] |
DrainPassword | Pointer to string | For Tail drains | [optional] |
Database | Pointer to string | For Deploy-hosted Elasticsearch drains | [optional] |
DatabaseId | Pointer to int32 | For Deploy-hosted Elasticsearch drains | [optional] |
Url | Pointer to string | For HTTPs Post drains | [optional] |
LoggingToken | Pointer to string | [optional] | |
DrainApps | Pointer to bool | [optional] | |
DrainDatabases | Pointer to bool | [optional] | |
DrainEphemeralSessions | Pointer to bool | [optional] | |
DrainProxies | Pointer to bool | [optional] |
func NewCreateLogDrainRequest(handle string, drainType string, ) *CreateLogDrainRequest
NewCreateLogDrainRequest instantiates a new CreateLogDrainRequest 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 NewCreateLogDrainRequestWithDefaults() *CreateLogDrainRequest
NewCreateLogDrainRequestWithDefaults instantiates a new CreateLogDrainRequest 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 *CreateLogDrainRequest) GetHandle() string
GetHandle returns the Handle field if non-nil, zero value otherwise.
func (o *CreateLogDrainRequest) GetHandleOk() (*string, bool)
GetHandleOk returns a tuple with the Handle field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateLogDrainRequest) SetHandle(v string)
SetHandle sets Handle field to given value.
func (o *CreateLogDrainRequest) GetDrainType() string
GetDrainType returns the DrainType field if non-nil, zero value otherwise.
func (o *CreateLogDrainRequest) GetDrainTypeOk() (*string, bool)
GetDrainTypeOk returns a tuple with the DrainType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateLogDrainRequest) SetDrainType(v string)
SetDrainType sets DrainType field to given value.
func (o *CreateLogDrainRequest) GetDrainHost() string
GetDrainHost returns the DrainHost field if non-nil, zero value otherwise.
func (o *CreateLogDrainRequest) GetDrainHostOk() (*string, bool)
GetDrainHostOk returns a tuple with the DrainHost field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateLogDrainRequest) SetDrainHost(v string)
SetDrainHost sets DrainHost field to given value.
func (o *CreateLogDrainRequest) HasDrainHost() bool
HasDrainHost returns a boolean if a field has been set.
func (o *CreateLogDrainRequest) GetDrainPort() int32
GetDrainPort returns the DrainPort field if non-nil, zero value otherwise.
func (o *CreateLogDrainRequest) GetDrainPortOk() (*int32, bool)
GetDrainPortOk returns a tuple with the DrainPort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateLogDrainRequest) SetDrainPort(v int32)
SetDrainPort sets DrainPort field to given value.
func (o *CreateLogDrainRequest) HasDrainPort() bool
HasDrainPort returns a boolean if a field has been set.
func (o *CreateLogDrainRequest) GetDrainUsername() string
GetDrainUsername returns the DrainUsername field if non-nil, zero value otherwise.
func (o *CreateLogDrainRequest) GetDrainUsernameOk() (*string, bool)
GetDrainUsernameOk returns a tuple with the DrainUsername field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateLogDrainRequest) SetDrainUsername(v string)
SetDrainUsername sets DrainUsername field to given value.
func (o *CreateLogDrainRequest) HasDrainUsername() bool
HasDrainUsername returns a boolean if a field has been set.
func (o *CreateLogDrainRequest) GetDrainPassword() string
GetDrainPassword returns the DrainPassword field if non-nil, zero value otherwise.
func (o *CreateLogDrainRequest) GetDrainPasswordOk() (*string, bool)
GetDrainPasswordOk returns a tuple with the DrainPassword field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateLogDrainRequest) SetDrainPassword(v string)
SetDrainPassword sets DrainPassword field to given value.
func (o *CreateLogDrainRequest) HasDrainPassword() bool
HasDrainPassword returns a boolean if a field has been set.
func (o *CreateLogDrainRequest) GetDatabase() string
GetDatabase returns the Database field if non-nil, zero value otherwise.
func (o *CreateLogDrainRequest) GetDatabaseOk() (*string, bool)
GetDatabaseOk returns a tuple with the Database field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateLogDrainRequest) SetDatabase(v string)
SetDatabase sets Database field to given value.
func (o *CreateLogDrainRequest) HasDatabase() bool
HasDatabase returns a boolean if a field has been set.
func (o *CreateLogDrainRequest) GetDatabaseId() int32
GetDatabaseId returns the DatabaseId field if non-nil, zero value otherwise.
func (o *CreateLogDrainRequest) GetDatabaseIdOk() (*int32, bool)
GetDatabaseIdOk returns a tuple with the DatabaseId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateLogDrainRequest) SetDatabaseId(v int32)
SetDatabaseId sets DatabaseId field to given value.
func (o *CreateLogDrainRequest) HasDatabaseId() bool
HasDatabaseId returns a boolean if a field has been set.
func (o *CreateLogDrainRequest) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *CreateLogDrainRequest) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateLogDrainRequest) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *CreateLogDrainRequest) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (o *CreateLogDrainRequest) GetLoggingToken() string
GetLoggingToken returns the LoggingToken field if non-nil, zero value otherwise.
func (o *CreateLogDrainRequest) GetLoggingTokenOk() (*string, bool)
GetLoggingTokenOk returns a tuple with the LoggingToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateLogDrainRequest) SetLoggingToken(v string)
SetLoggingToken sets LoggingToken field to given value.
func (o *CreateLogDrainRequest) HasLoggingToken() bool
HasLoggingToken returns a boolean if a field has been set.
func (o *CreateLogDrainRequest) GetDrainApps() bool
GetDrainApps returns the DrainApps field if non-nil, zero value otherwise.
func (o *CreateLogDrainRequest) GetDrainAppsOk() (*bool, bool)
GetDrainAppsOk returns a tuple with the DrainApps field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateLogDrainRequest) SetDrainApps(v bool)
SetDrainApps sets DrainApps field to given value.
func (o *CreateLogDrainRequest) HasDrainApps() bool
HasDrainApps returns a boolean if a field has been set.
func (o *CreateLogDrainRequest) GetDrainDatabases() bool
GetDrainDatabases returns the DrainDatabases field if non-nil, zero value otherwise.
func (o *CreateLogDrainRequest) GetDrainDatabasesOk() (*bool, bool)
GetDrainDatabasesOk returns a tuple with the DrainDatabases field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateLogDrainRequest) SetDrainDatabases(v bool)
SetDrainDatabases sets DrainDatabases field to given value.
func (o *CreateLogDrainRequest) HasDrainDatabases() bool
HasDrainDatabases returns a boolean if a field has been set.
func (o *CreateLogDrainRequest) GetDrainEphemeralSessions() bool
GetDrainEphemeralSessions returns the DrainEphemeralSessions field if non-nil, zero value otherwise.
func (o *CreateLogDrainRequest) GetDrainEphemeralSessionsOk() (*bool, bool)
GetDrainEphemeralSessionsOk returns a tuple with the DrainEphemeralSessions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateLogDrainRequest) SetDrainEphemeralSessions(v bool)
SetDrainEphemeralSessions sets DrainEphemeralSessions field to given value.
func (o *CreateLogDrainRequest) HasDrainEphemeralSessions() bool
HasDrainEphemeralSessions returns a boolean if a field has been set.
func (o *CreateLogDrainRequest) GetDrainProxies() bool
GetDrainProxies returns the DrainProxies field if non-nil, zero value otherwise.
func (o *CreateLogDrainRequest) GetDrainProxiesOk() (*bool, bool)
GetDrainProxiesOk returns a tuple with the DrainProxies field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateLogDrainRequest) SetDrainProxies(v bool)
SetDrainProxies sets DrainProxies field to given value.
func (o *CreateLogDrainRequest) HasDrainProxies() bool
HasDrainProxies returns a boolean if a field has been set.