Skip to content

Latest commit

 

History

History
239 lines (128 loc) · 6.92 KB

UserAccess.md

File metadata and controls

239 lines (128 loc) · 6.92 KB

UserAccess

Properties

Name Type Description Notes
ApiKey string API key
FeedDownloadUrl Pointer to string Sample feed direct download URL (only available to Feed subscribers) [optional]
FeedPassword Pointer to string Sample feed direct download password (only available to Feed subscribers) [optional]
FeedUsername Pointer to string Sample feed direct download username (only available to Feed subscribers) [optional]
MonthLimit int32 Monthly upload limit
MonthSubmissions int32 Number of submissions for the current month
MonthSubmissionsPrivate Pointer to int32 Number of private submissions for the current month [optional]
Roles []string Service access roles
TotalSubmissions int32 Lifetime total number of submissions

Methods

NewUserAccess

func NewUserAccess(apiKey string, monthLimit int32, monthSubmissions int32, roles []string, totalSubmissions int32, ) *UserAccess

NewUserAccess instantiates a new UserAccess 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

NewUserAccessWithDefaults

func NewUserAccessWithDefaults() *UserAccess

NewUserAccessWithDefaults instantiates a new UserAccess 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

GetApiKey

func (o *UserAccess) GetApiKey() string

GetApiKey returns the ApiKey field if non-nil, zero value otherwise.

GetApiKeyOk

func (o *UserAccess) GetApiKeyOk() (*string, bool)

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

SetApiKey

func (o *UserAccess) SetApiKey(v string)

SetApiKey sets ApiKey field to given value.

GetFeedDownloadUrl

func (o *UserAccess) GetFeedDownloadUrl() string

GetFeedDownloadUrl returns the FeedDownloadUrl field if non-nil, zero value otherwise.

GetFeedDownloadUrlOk

func (o *UserAccess) GetFeedDownloadUrlOk() (*string, bool)

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

SetFeedDownloadUrl

func (o *UserAccess) SetFeedDownloadUrl(v string)

SetFeedDownloadUrl sets FeedDownloadUrl field to given value.

HasFeedDownloadUrl

func (o *UserAccess) HasFeedDownloadUrl() bool

HasFeedDownloadUrl returns a boolean if a field has been set.

GetFeedPassword

func (o *UserAccess) GetFeedPassword() string

GetFeedPassword returns the FeedPassword field if non-nil, zero value otherwise.

GetFeedPasswordOk

func (o *UserAccess) GetFeedPasswordOk() (*string, bool)

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

SetFeedPassword

func (o *UserAccess) SetFeedPassword(v string)

SetFeedPassword sets FeedPassword field to given value.

HasFeedPassword

func (o *UserAccess) HasFeedPassword() bool

HasFeedPassword returns a boolean if a field has been set.

GetFeedUsername

func (o *UserAccess) GetFeedUsername() string

GetFeedUsername returns the FeedUsername field if non-nil, zero value otherwise.

GetFeedUsernameOk

func (o *UserAccess) GetFeedUsernameOk() (*string, bool)

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

SetFeedUsername

func (o *UserAccess) SetFeedUsername(v string)

SetFeedUsername sets FeedUsername field to given value.

HasFeedUsername

func (o *UserAccess) HasFeedUsername() bool

HasFeedUsername returns a boolean if a field has been set.

GetMonthLimit

func (o *UserAccess) GetMonthLimit() int32

GetMonthLimit returns the MonthLimit field if non-nil, zero value otherwise.

GetMonthLimitOk

func (o *UserAccess) GetMonthLimitOk() (*int32, bool)

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

SetMonthLimit

func (o *UserAccess) SetMonthLimit(v int32)

SetMonthLimit sets MonthLimit field to given value.

GetMonthSubmissions

func (o *UserAccess) GetMonthSubmissions() int32

GetMonthSubmissions returns the MonthSubmissions field if non-nil, zero value otherwise.

GetMonthSubmissionsOk

func (o *UserAccess) GetMonthSubmissionsOk() (*int32, bool)

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

SetMonthSubmissions

func (o *UserAccess) SetMonthSubmissions(v int32)

SetMonthSubmissions sets MonthSubmissions field to given value.

GetMonthSubmissionsPrivate

func (o *UserAccess) GetMonthSubmissionsPrivate() int32

GetMonthSubmissionsPrivate returns the MonthSubmissionsPrivate field if non-nil, zero value otherwise.

GetMonthSubmissionsPrivateOk

func (o *UserAccess) GetMonthSubmissionsPrivateOk() (*int32, bool)

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

SetMonthSubmissionsPrivate

func (o *UserAccess) SetMonthSubmissionsPrivate(v int32)

SetMonthSubmissionsPrivate sets MonthSubmissionsPrivate field to given value.

HasMonthSubmissionsPrivate

func (o *UserAccess) HasMonthSubmissionsPrivate() bool

HasMonthSubmissionsPrivate returns a boolean if a field has been set.

GetRoles

func (o *UserAccess) GetRoles() []string

GetRoles returns the Roles field if non-nil, zero value otherwise.

GetRolesOk

func (o *UserAccess) GetRolesOk() (*[]string, bool)

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

SetRoles

func (o *UserAccess) SetRoles(v []string)

SetRoles sets Roles field to given value.

GetTotalSubmissions

func (o *UserAccess) GetTotalSubmissions() int32

GetTotalSubmissions returns the TotalSubmissions field if non-nil, zero value otherwise.

GetTotalSubmissionsOk

func (o *UserAccess) GetTotalSubmissionsOk() (*int32, bool)

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

SetTotalSubmissions

func (o *UserAccess) SetTotalSubmissions(v int32)

SetTotalSubmissions sets TotalSubmissions field to given value.

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