Skip to content

Latest commit

 

History

History
207 lines (112 loc) · 7.34 KB

ApiUserAccessListView.md

File metadata and controls

207 lines (112 loc) · 7.34 KB

ApiUserAccessListView

Properties

Name Type Description Notes
CidrBlock Pointer to string Range of network addresses that you want to add to the access list for the API key. This parameter requires the range to be expressed in classless inter-domain routing (CIDR) notation of Internet Protocol version 4 or version 6 addresses. You can set a value for this parameter or ipAddress but not both in the same request. [optional]
Count Pointer to int32 Total number of requests that have originated from the Internet Protocol (IP) address given as the value of the lastUsedAddress parameter. [optional] [readonly]
Created Pointer to time.Time Date and time when someone added the network addresses to the specified API access list. This parameter expresses its value in the ISO 8601 timestamp format in UTC. [optional] [readonly]
IpAddress Pointer to string Network address that you want to add to the access list for the API key. This parameter requires the address to be expressed as one Internet Protocol version 4 or version 6 address. You can set a value for this parameter or cidrBlock but not both in the same request. [optional]
LastUsed Pointer to time.Time Date and time when MongoDB Cloud received the most recent request that originated from this Internet Protocol version 4 or version 6 address. The resource returns this parameter when at least one request has originated from this IP address. MongoDB Cloud updates this parameter each time a client accesses the permitted resource. This parameter expresses its value in the ISO 8601 timestamp format in UTC. [optional] [readonly]
LastUsedAddress Pointer to string Network address that issued the most recent request to the API. This parameter requires the address to be expressed as one Internet Protocol version 4 or version 6 address. The resource returns this parameter after this IP address made at least one request. [optional] [readonly]
Links []Link List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. [readonly]

Methods

NewApiUserAccessListView

func NewApiUserAccessListView(links []Link, ) *ApiUserAccessListView

NewApiUserAccessListView instantiates a new ApiUserAccessListView 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

NewApiUserAccessListViewWithDefaults

func NewApiUserAccessListViewWithDefaults() *ApiUserAccessListView

NewApiUserAccessListViewWithDefaults instantiates a new ApiUserAccessListView 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

GetCidrBlock

func (o *ApiUserAccessListView) GetCidrBlock() string

GetCidrBlock returns the CidrBlock field if non-nil, zero value otherwise.

GetCidrBlockOk

func (o *ApiUserAccessListView) GetCidrBlockOk() (*string, bool)

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

SetCidrBlock

func (o *ApiUserAccessListView) SetCidrBlock(v string)

SetCidrBlock sets CidrBlock field to given value.

HasCidrBlock

func (o *ApiUserAccessListView) HasCidrBlock() bool

HasCidrBlock returns a boolean if a field has been set.

GetCount

func (o *ApiUserAccessListView) GetCount() int32

GetCount returns the Count field if non-nil, zero value otherwise.

GetCountOk

func (o *ApiUserAccessListView) GetCountOk() (*int32, bool)

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

SetCount

func (o *ApiUserAccessListView) SetCount(v int32)

SetCount sets Count field to given value.

HasCount

func (o *ApiUserAccessListView) HasCount() bool

HasCount returns a boolean if a field has been set.

GetCreated

func (o *ApiUserAccessListView) GetCreated() time.Time

GetCreated returns the Created field if non-nil, zero value otherwise.

GetCreatedOk

func (o *ApiUserAccessListView) GetCreatedOk() (*time.Time, bool)

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

SetCreated

func (o *ApiUserAccessListView) SetCreated(v time.Time)

SetCreated sets Created field to given value.

HasCreated

func (o *ApiUserAccessListView) HasCreated() bool

HasCreated returns a boolean if a field has been set.

GetIpAddress

func (o *ApiUserAccessListView) GetIpAddress() string

GetIpAddress returns the IpAddress field if non-nil, zero value otherwise.

GetIpAddressOk

func (o *ApiUserAccessListView) GetIpAddressOk() (*string, bool)

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

SetIpAddress

func (o *ApiUserAccessListView) SetIpAddress(v string)

SetIpAddress sets IpAddress field to given value.

HasIpAddress

func (o *ApiUserAccessListView) HasIpAddress() bool

HasIpAddress returns a boolean if a field has been set.

GetLastUsed

func (o *ApiUserAccessListView) GetLastUsed() time.Time

GetLastUsed returns the LastUsed field if non-nil, zero value otherwise.

GetLastUsedOk

func (o *ApiUserAccessListView) GetLastUsedOk() (*time.Time, bool)

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

SetLastUsed

func (o *ApiUserAccessListView) SetLastUsed(v time.Time)

SetLastUsed sets LastUsed field to given value.

HasLastUsed

func (o *ApiUserAccessListView) HasLastUsed() bool

HasLastUsed returns a boolean if a field has been set.

GetLastUsedAddress

func (o *ApiUserAccessListView) GetLastUsedAddress() string

GetLastUsedAddress returns the LastUsedAddress field if non-nil, zero value otherwise.

GetLastUsedAddressOk

func (o *ApiUserAccessListView) GetLastUsedAddressOk() (*string, bool)

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

SetLastUsedAddress

func (o *ApiUserAccessListView) SetLastUsedAddress(v string)

SetLastUsedAddress sets LastUsedAddress field to given value.

HasLastUsedAddress

func (o *ApiUserAccessListView) HasLastUsedAddress() bool

HasLastUsedAddress returns a boolean if a field has been set.

GetLinks

func (o *ApiUserAccessListView) GetLinks() []Link

GetLinks returns the Links field if non-nil, zero value otherwise.

GetLinksOk

func (o *ApiUserAccessListView) GetLinksOk() (*[]Link, bool)

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

SetLinks

func (o *ApiUserAccessListView) SetLinks(v []Link)

SetLinks sets Links field to given value.

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