Files

7.1 KiB
Raw Permalink Blame History

MqConfig

Properties

Name Type Description Notes
MaxAge Pointer to string MaxAge caps message age, e.g. "24h" or "7d"; "0" (default) is unlimited. [optional]
MaxBytes Pointer to int64 MaxBytes caps the stream's total stored bytes; -1 (default) is unlimited. [optional]
MaxMsgSize Pointer to int32 MaxMsgSize caps one message's size in bytes; -1 (default) is the broker's limit. [optional]
MaxMsgs Pointer to int64 MaxMsgs caps the number of stored messages; -1 (default) is unlimited. [optional]
Name Pointer to string Name is the stream name, unique within the org (alphanumeric, hyphens, underscores). [optional]
NumReplicas Pointer to int64 Replicas is the number of stream replicas (1–5); this plane runs 1. [optional]
Retention Pointer to string Retention is the retention policy: limits (default), interest, or workqueue. [optional]
Storage Pointer to string Storage is the storage backend: file (default) or memory. [optional]
Subjects Pointer to []string Subjects are the org-relative subjects bound to this stream (wildcards supported). Default: the stream name. [optional]

Methods

NewMqConfig

func NewMqConfig() *MqConfig

NewMqConfig instantiates a new MqConfig 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

NewMqConfigWithDefaults

func NewMqConfigWithDefaults() *MqConfig

NewMqConfigWithDefaults instantiates a new MqConfig 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

GetMaxAge

func (o *MqConfig) GetMaxAge() string

GetMaxAge returns the MaxAge field if non-nil, zero value otherwise.

GetMaxAgeOk

func (o *MqConfig) GetMaxAgeOk() (*string, bool)

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

SetMaxAge

func (o *MqConfig) SetMaxAge(v string)

SetMaxAge sets MaxAge field to given value.

HasMaxAge

func (o *MqConfig) HasMaxAge() bool

HasMaxAge returns a boolean if a field has been set.

GetMaxBytes

func (o *MqConfig) GetMaxBytes() int64

GetMaxBytes returns the MaxBytes field if non-nil, zero value otherwise.

GetMaxBytesOk

func (o *MqConfig) GetMaxBytesOk() (*int64, bool)

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

SetMaxBytes

func (o *MqConfig) SetMaxBytes(v int64)

SetMaxBytes sets MaxBytes field to given value.

HasMaxBytes

func (o *MqConfig) HasMaxBytes() bool

HasMaxBytes returns a boolean if a field has been set.

GetMaxMsgSize

func (o *MqConfig) GetMaxMsgSize() int32

GetMaxMsgSize returns the MaxMsgSize field if non-nil, zero value otherwise.

GetMaxMsgSizeOk

func (o *MqConfig) GetMaxMsgSizeOk() (*int32, bool)

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

SetMaxMsgSize

func (o *MqConfig) SetMaxMsgSize(v int32)

SetMaxMsgSize sets MaxMsgSize field to given value.

HasMaxMsgSize

func (o *MqConfig) HasMaxMsgSize() bool

HasMaxMsgSize returns a boolean if a field has been set.

GetMaxMsgs

func (o *MqConfig) GetMaxMsgs() int64

GetMaxMsgs returns the MaxMsgs field if non-nil, zero value otherwise.

GetMaxMsgsOk

func (o *MqConfig) GetMaxMsgsOk() (*int64, bool)

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

SetMaxMsgs

func (o *MqConfig) SetMaxMsgs(v int64)

SetMaxMsgs sets MaxMsgs field to given value.

HasMaxMsgs

func (o *MqConfig) HasMaxMsgs() bool

HasMaxMsgs returns a boolean if a field has been set.

GetName

func (o *MqConfig) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

HasName

func (o *MqConfig) HasName() bool

HasName returns a boolean if a field has been set.

GetNumReplicas

func (o *MqConfig) GetNumReplicas() int64

GetNumReplicas returns the NumReplicas field if non-nil, zero value otherwise.

GetNumReplicasOk

func (o *MqConfig) GetNumReplicasOk() (*int64, bool)

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

SetNumReplicas

func (o *MqConfig) SetNumReplicas(v int64)

SetNumReplicas sets NumReplicas field to given value.

HasNumReplicas

func (o *MqConfig) HasNumReplicas() bool

HasNumReplicas returns a boolean if a field has been set.

GetRetention

func (o *MqConfig) GetRetention() string

GetRetention returns the Retention field if non-nil, zero value otherwise.

GetRetentionOk

func (o *MqConfig) GetRetentionOk() (*string, bool)

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

SetRetention

func (o *MqConfig) SetRetention(v string)

SetRetention sets Retention field to given value.

HasRetention

func (o *MqConfig) HasRetention() bool

HasRetention returns a boolean if a field has been set.

GetStorage

func (o *MqConfig) GetStorage() string

GetStorage returns the Storage field if non-nil, zero value otherwise.

GetStorageOk

func (o *MqConfig) GetStorageOk() (*string, bool)

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

SetStorage

func (o *MqConfig) SetStorage(v string)

SetStorage sets Storage field to given value.

HasStorage

func (o *MqConfig) HasStorage() bool

HasStorage returns a boolean if a field has been set.

GetSubjects

func (o *MqConfig) GetSubjects() []string

GetSubjects returns the Subjects field if non-nil, zero value otherwise.

GetSubjectsOk

func (o *MqConfig) GetSubjectsOk() (*[]string, bool)

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

SetSubjects

func (o *MqConfig) SetSubjects(v []string)

SetSubjects sets Subjects field to given value.

HasSubjects

func (o *MqConfig) HasSubjects() bool

HasSubjects returns a boolean if a field has been set.

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