Skip to main content

StreamStatusResponse

Properties

NameTypeDescriptionNotes
StreamIdPointer to stringStream identifier.[optional]
StatusPointer to stringOperational status of the stream (enabled, paused, or disabled).[optional]
ReasonPointer to stringOptional reason for the current status (e.g. set when status is updated).[optional]

Methods

NewStreamStatusResponse

func NewStreamStatusResponse() *StreamStatusResponse

NewStreamStatusResponse instantiates a new StreamStatusResponse 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

NewStreamStatusResponseWithDefaults

func NewStreamStatusResponseWithDefaults() *StreamStatusResponse

NewStreamStatusResponseWithDefaults instantiates a new StreamStatusResponse 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

GetStreamId

func (o *StreamStatusResponse) GetStreamId() string

GetStreamId returns the StreamId field if non-nil, zero value otherwise.

GetStreamIdOk

func (o *StreamStatusResponse) GetStreamIdOk() (*string, bool)

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

SetStreamId

func (o *StreamStatusResponse) SetStreamId(v string)

SetStreamId sets StreamId field to given value.

HasStreamId

func (o *StreamStatusResponse) HasStreamId() bool

HasStreamId returns a boolean if a field has been set.

GetStatus

func (o *StreamStatusResponse) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *StreamStatusResponse) GetStatusOk() (*string, 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.

SetStatus

func (o *StreamStatusResponse) SetStatus(v string)

SetStatus sets Status field to given value.

HasStatus

func (o *StreamStatusResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetReason

func (o *StreamStatusResponse) GetReason() string

GetReason returns the Reason field if non-nil, zero value otherwise.

GetReasonOk

func (o *StreamStatusResponse) GetReasonOk() (*string, bool)

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

SetReason

func (o *StreamStatusResponse) SetReason(v string)

SetReason sets Reason field to given value.

HasReason

func (o *StreamStatusResponse) HasReason() bool

HasReason returns a boolean if a field has been set.