Name | Type | Description | Notes |
---|---|---|---|
ProjectId | string | Project Identifier | |
InstanceId | string | VM Instance Identifier | |
ExpiresIn | float32 | Number of seconds token remains valid | |
Features | Features | ||
ClientId | Pointer to NullableString | Optional string value supplied by client for tracking purposes | [optional] |
func NewWebPlayerCreateSessionRequest(projectId string, instanceId string, expiresIn float32, features Features, ) *WebPlayerCreateSessionRequest
NewWebPlayerCreateSessionRequest instantiates a new WebPlayerCreateSessionRequest 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 NewWebPlayerCreateSessionRequestWithDefaults() *WebPlayerCreateSessionRequest
NewWebPlayerCreateSessionRequestWithDefaults instantiates a new WebPlayerCreateSessionRequest 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 *WebPlayerCreateSessionRequest) GetProjectId() string
GetProjectId returns the ProjectId field if non-nil, zero value otherwise.
func (o *WebPlayerCreateSessionRequest) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WebPlayerCreateSessionRequest) SetProjectId(v string)
SetProjectId sets ProjectId field to given value.
func (o *WebPlayerCreateSessionRequest) GetInstanceId() string
GetInstanceId returns the InstanceId field if non-nil, zero value otherwise.
func (o *WebPlayerCreateSessionRequest) GetInstanceIdOk() (*string, bool)
GetInstanceIdOk returns a tuple with the InstanceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WebPlayerCreateSessionRequest) SetInstanceId(v string)
SetInstanceId sets InstanceId field to given value.
func (o *WebPlayerCreateSessionRequest) GetExpiresIn() float32
GetExpiresIn returns the ExpiresIn field if non-nil, zero value otherwise.
func (o *WebPlayerCreateSessionRequest) GetExpiresInOk() (*float32, bool)
GetExpiresInOk returns a tuple with the ExpiresIn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WebPlayerCreateSessionRequest) SetExpiresIn(v float32)
SetExpiresIn sets ExpiresIn field to given value.
func (o *WebPlayerCreateSessionRequest) GetFeatures() Features
GetFeatures returns the Features field if non-nil, zero value otherwise.
func (o *WebPlayerCreateSessionRequest) GetFeaturesOk() (*Features, bool)
GetFeaturesOk returns a tuple with the Features field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WebPlayerCreateSessionRequest) SetFeatures(v Features)
SetFeatures sets Features field to given value.
func (o *WebPlayerCreateSessionRequest) GetClientId() string
GetClientId returns the ClientId field if non-nil, zero value otherwise.
func (o *WebPlayerCreateSessionRequest) GetClientIdOk() (*string, bool)
GetClientIdOk returns a tuple with the ClientId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WebPlayerCreateSessionRequest) SetClientId(v string)
SetClientId sets ClientId field to given value.
func (o *WebPlayerCreateSessionRequest) HasClientId() bool
HasClientId returns a boolean if a field has been set.
func (o *WebPlayerCreateSessionRequest) SetClientIdNil(b bool)
SetClientIdNil sets the value for ClientId to be an explicit nil
func (o *WebPlayerCreateSessionRequest) UnsetClientId()
UnsetClientId ensures that no value is present for ClientId, not even an explicit nil