Skip to content

Latest commit

 

History

History
124 lines (67 loc) · 4.04 KB

ConnectV1Connector.md

File metadata and controls

124 lines (67 loc) · 4.04 KB

ConnectV1Connector

Properties

Name Type Description Notes
Name string Name of the connector
Config map[string]string Configuration parameters for the connector. These configurations are the minimum set of key-value pairs (KVP) which can be used to define how the connector connects Kafka to the external system. Some of these KVPs are common to all the connectors, such as connection parameters to Kafka, connector metadata, etc. The list of common connector configurations is as follows - cloud.environment - cloud.provider - connector.class - kafka.api.key - kafka.api.secret - kafka.endpoint - kafka.region - name A specific connector such as `GcsSink` would have additional parameters such as `gcs.bucket.name`, `flush.size`, etc.
Tasks Pointer to []ConnectV1ConnectorTasks List of active tasks generated by the connector [optional]
Type Pointer to string Type of connector, sink or source [optional]

Methods

NewConnectV1Connector

func NewConnectV1Connector(name string, config map[string]string, ) *ConnectV1Connector

NewConnectV1Connector instantiates a new ConnectV1Connector 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

NewConnectV1ConnectorWithDefaults

func NewConnectV1ConnectorWithDefaults() *ConnectV1Connector

NewConnectV1ConnectorWithDefaults instantiates a new ConnectV1Connector 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

GetName

func (o *ConnectV1Connector) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

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

SetName

func (o *ConnectV1Connector) SetName(v string)

SetName sets Name field to given value.

GetConfig

func (o *ConnectV1Connector) GetConfig() map[string]string

GetConfig returns the Config field if non-nil, zero value otherwise.

GetConfigOk

func (o *ConnectV1Connector) GetConfigOk() (*map[string]string, bool)

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

SetConfig

func (o *ConnectV1Connector) SetConfig(v map[string]string)

SetConfig sets Config field to given value.

GetTasks

func (o *ConnectV1Connector) GetTasks() []ConnectV1ConnectorTasks

GetTasks returns the Tasks field if non-nil, zero value otherwise.

GetTasksOk

func (o *ConnectV1Connector) GetTasksOk() (*[]ConnectV1ConnectorTasks, bool)

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

SetTasks

func (o *ConnectV1Connector) SetTasks(v []ConnectV1ConnectorTasks)

SetTasks sets Tasks field to given value.

HasTasks

func (o *ConnectV1Connector) HasTasks() bool

HasTasks returns a boolean if a field has been set.

GetType

func (o *ConnectV1Connector) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

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

SetType

func (o *ConnectV1Connector) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *ConnectV1Connector) HasType() bool

HasType returns a boolean if a field has been set.

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