Skip to content

Latest commit

 

History

History
212 lines (115 loc) · 5.79 KB

CreateTopicRequest.md

File metadata and controls

212 lines (115 loc) · 5.79 KB

CreateTopicRequest

Properties

Name Type Description Notes
Kind Pointer to string [optional]
ApiVersion Pointer to string [optional]
Name Pointer to string [optional]
Namespace Pointer to string [optional]
PartitionCount Pointer to int32 [optional]
ReplicationFactor Pointer to int32 [optional]
Configs Pointer to []CreateTopicConfigDataItem [optional]

Methods

NewCreateTopicRequest

func NewCreateTopicRequest() *CreateTopicRequest

NewCreateTopicRequest instantiates a new CreateTopicRequest 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

NewCreateTopicRequestWithDefaults

func NewCreateTopicRequestWithDefaults() *CreateTopicRequest

NewCreateTopicRequestWithDefaults instantiates a new CreateTopicRequest 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

GetKind

func (o *CreateTopicRequest) GetKind() string

GetKind returns the Kind field if non-nil, zero value otherwise.

GetKindOk

func (o *CreateTopicRequest) GetKindOk() (*string, bool)

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

SetKind

func (o *CreateTopicRequest) SetKind(v string)

SetKind sets Kind field to given value.

HasKind

func (o *CreateTopicRequest) HasKind() bool

HasKind returns a boolean if a field has been set.

GetApiVersion

func (o *CreateTopicRequest) GetApiVersion() string

GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise.

GetApiVersionOk

func (o *CreateTopicRequest) GetApiVersionOk() (*string, bool)

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

SetApiVersion

func (o *CreateTopicRequest) SetApiVersion(v string)

SetApiVersion sets ApiVersion field to given value.

HasApiVersion

func (o *CreateTopicRequest) HasApiVersion() bool

HasApiVersion returns a boolean if a field has been set.

GetName

func (o *CreateTopicRequest) GetName() string

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

GetNameOk

func (o *CreateTopicRequest) 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 *CreateTopicRequest) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *CreateTopicRequest) HasName() bool

HasName returns a boolean if a field has been set.

GetNamespace

func (o *CreateTopicRequest) GetNamespace() string

GetNamespace returns the Namespace field if non-nil, zero value otherwise.

GetNamespaceOk

func (o *CreateTopicRequest) GetNamespaceOk() (*string, bool)

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

SetNamespace

func (o *CreateTopicRequest) SetNamespace(v string)

SetNamespace sets Namespace field to given value.

HasNamespace

func (o *CreateTopicRequest) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

GetPartitionCount

func (o *CreateTopicRequest) GetPartitionCount() int32

GetPartitionCount returns the PartitionCount field if non-nil, zero value otherwise.

GetPartitionCountOk

func (o *CreateTopicRequest) GetPartitionCountOk() (*int32, bool)

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

SetPartitionCount

func (o *CreateTopicRequest) SetPartitionCount(v int32)

SetPartitionCount sets PartitionCount field to given value.

HasPartitionCount

func (o *CreateTopicRequest) HasPartitionCount() bool

HasPartitionCount returns a boolean if a field has been set.

GetReplicationFactor

func (o *CreateTopicRequest) GetReplicationFactor() int32

GetReplicationFactor returns the ReplicationFactor field if non-nil, zero value otherwise.

GetReplicationFactorOk

func (o *CreateTopicRequest) GetReplicationFactorOk() (*int32, bool)

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

SetReplicationFactor

func (o *CreateTopicRequest) SetReplicationFactor(v int32)

SetReplicationFactor sets ReplicationFactor field to given value.

HasReplicationFactor

func (o *CreateTopicRequest) HasReplicationFactor() bool

HasReplicationFactor returns a boolean if a field has been set.

GetConfigs

func (o *CreateTopicRequest) GetConfigs() []CreateTopicConfigDataItem

GetConfigs returns the Configs field if non-nil, zero value otherwise.

GetConfigsOk

func (o *CreateTopicRequest) GetConfigsOk() (*[]CreateTopicConfigDataItem, bool)

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

SetConfigs

func (o *CreateTopicRequest) SetConfigs(v []CreateTopicConfigDataItem)

SetConfigs sets Configs field to given value.

HasConfigs

func (o *CreateTopicRequest) HasConfigs() bool

HasConfigs returns a boolean if a field has been set.

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