Skip to content

Latest commit

 

History

History
124 lines (67 loc) · 4.08 KB

V1APIResourceList.md

File metadata and controls

124 lines (67 loc) · 4.08 KB

V1APIResourceList

Properties

Name Type Description Notes
ApiVersion Pointer to string APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources [optional]
GroupVersion string groupVersion is the group and version this APIResourceList is for.
Kind Pointer to string Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds [optional]
Resources []V1APIResource resources contains the name of the resources and if they are namespaced.

Methods

NewV1APIResourceList

func NewV1APIResourceList(groupVersion string, resources []V1APIResource, ) *V1APIResourceList

NewV1APIResourceList instantiates a new V1APIResourceList 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

NewV1APIResourceListWithDefaults

func NewV1APIResourceListWithDefaults() *V1APIResourceList

NewV1APIResourceListWithDefaults instantiates a new V1APIResourceList 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

GetApiVersion

func (o *V1APIResourceList) GetApiVersion() string

GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise.

GetApiVersionOk

func (o *V1APIResourceList) GetApiVersionOk() (*string, bool)

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

SetApiVersion

func (o *V1APIResourceList) SetApiVersion(v string)

SetApiVersion sets ApiVersion field to given value.

HasApiVersion

func (o *V1APIResourceList) HasApiVersion() bool

HasApiVersion returns a boolean if a field has been set.

GetGroupVersion

func (o *V1APIResourceList) GetGroupVersion() string

GetGroupVersion returns the GroupVersion field if non-nil, zero value otherwise.

GetGroupVersionOk

func (o *V1APIResourceList) GetGroupVersionOk() (*string, bool)

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

SetGroupVersion

func (o *V1APIResourceList) SetGroupVersion(v string)

SetGroupVersion sets GroupVersion field to given value.

GetKind

func (o *V1APIResourceList) GetKind() string

GetKind returns the Kind field if non-nil, zero value otherwise.

GetKindOk

func (o *V1APIResourceList) GetKindOk() (*string, bool)

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

SetKind

func (o *V1APIResourceList) SetKind(v string)

SetKind sets Kind field to given value.

HasKind

func (o *V1APIResourceList) HasKind() bool

HasKind returns a boolean if a field has been set.

GetResources

func (o *V1APIResourceList) GetResources() []V1APIResource

GetResources returns the Resources field if non-nil, zero value otherwise.

GetResourcesOk

func (o *V1APIResourceList) GetResourcesOk() (*[]V1APIResource, bool)

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

SetResources

func (o *V1APIResourceList) SetResources(v []V1APIResource)

SetResources sets Resources field to given value.

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