v1

package
v0.0.435 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2025 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const AccessReviewRequestListKind = "AccessReviewRequestList"

AccessReviewRequestListKind is the name of the type used to represent list of objects of type 'access_review_request'.

View Source
const AccessReviewRequestListLinkKind = "AccessReviewRequestListLink"

AccessReviewRequestListLinkKind is the name of the type used to represent links to list of objects of type 'access_review_request'.

View Source
const AccessReviewRequestListNilKind = "AccessReviewRequestListNil"

AccessReviewRequestNilKind is the name of the type used to nil lists of objects of type 'access_review_request'.

View Source
const AccessReviewResponseListKind = "AccessReviewResponseList"

AccessReviewResponseListKind is the name of the type used to represent list of objects of type 'access_review_response'.

View Source
const AccessReviewResponseListLinkKind = "AccessReviewResponseListLink"

AccessReviewResponseListLinkKind is the name of the type used to represent links to list of objects of type 'access_review_response'.

View Source
const AccessReviewResponseListNilKind = "AccessReviewResponseListNil"

AccessReviewResponseNilKind is the name of the type used to nil lists of objects of type 'access_review_response'.

View Source
const CapabilityReviewRequestListKind = "CapabilityReviewRequestList"

CapabilityReviewRequestListKind is the name of the type used to represent list of objects of type 'capability_review_request'.

View Source
const CapabilityReviewRequestListLinkKind = "CapabilityReviewRequestListLink"

CapabilityReviewRequestListLinkKind is the name of the type used to represent links to list of objects of type 'capability_review_request'.

View Source
const CapabilityReviewRequestListNilKind = "CapabilityReviewRequestListNil"

CapabilityReviewRequestNilKind is the name of the type used to nil lists of objects of type 'capability_review_request'.

View Source
const CapabilityReviewResponseListKind = "CapabilityReviewResponseList"

CapabilityReviewResponseListKind is the name of the type used to represent list of objects of type 'capability_review_response'.

View Source
const CapabilityReviewResponseListLinkKind = "CapabilityReviewResponseListLink"

CapabilityReviewResponseListLinkKind is the name of the type used to represent links to list of objects of type 'capability_review_response'.

View Source
const CapabilityReviewResponseListNilKind = "CapabilityReviewResponseListNil"

CapabilityReviewResponseNilKind is the name of the type used to nil lists of objects of type 'capability_review_response'.

View Source
const ExportControlReviewRequestListKind = "ExportControlReviewRequestList"

ExportControlReviewRequestListKind is the name of the type used to represent list of objects of type 'export_control_review_request'.

View Source
const ExportControlReviewRequestListLinkKind = "ExportControlReviewRequestListLink"

ExportControlReviewRequestListLinkKind is the name of the type used to represent links to list of objects of type 'export_control_review_request'.

View Source
const ExportControlReviewRequestListNilKind = "ExportControlReviewRequestListNil"

ExportControlReviewRequestNilKind is the name of the type used to nil lists of objects of type 'export_control_review_request'.

View Source
const ExportControlReviewResponseListKind = "ExportControlReviewResponseList"

ExportControlReviewResponseListKind is the name of the type used to represent list of objects of type 'export_control_review_response'.

View Source
const ExportControlReviewResponseListLinkKind = "ExportControlReviewResponseListLink"

ExportControlReviewResponseListLinkKind is the name of the type used to represent links to list of objects of type 'export_control_review_response'.

View Source
const ExportControlReviewResponseListNilKind = "ExportControlReviewResponseListNil"

ExportControlReviewResponseNilKind is the name of the type used to nil lists of objects of type 'export_control_review_response'.

View Source
const FeatureReviewRequestListKind = "FeatureReviewRequestList"

FeatureReviewRequestListKind is the name of the type used to represent list of objects of type 'feature_review_request'.

View Source
const FeatureReviewRequestListLinkKind = "FeatureReviewRequestListLink"

FeatureReviewRequestListLinkKind is the name of the type used to represent links to list of objects of type 'feature_review_request'.

View Source
const FeatureReviewRequestListNilKind = "FeatureReviewRequestListNil"

FeatureReviewRequestNilKind is the name of the type used to nil lists of objects of type 'feature_review_request'.

View Source
const FeatureReviewResponseListKind = "FeatureReviewResponseList"

FeatureReviewResponseListKind is the name of the type used to represent list of objects of type 'feature_review_response'.

View Source
const FeatureReviewResponseListLinkKind = "FeatureReviewResponseListLink"

FeatureReviewResponseListLinkKind is the name of the type used to represent links to list of objects of type 'feature_review_response'.

View Source
const FeatureReviewResponseListNilKind = "FeatureReviewResponseListNil"

FeatureReviewResponseNilKind is the name of the type used to nil lists of objects of type 'feature_review_response'.

View Source
const ResourceReviewListKind = "ResourceReviewList"

ResourceReviewListKind is the name of the type used to represent list of objects of type 'resource_review'.

View Source
const ResourceReviewListLinkKind = "ResourceReviewListLink"

ResourceReviewListLinkKind is the name of the type used to represent links to list of objects of type 'resource_review'.

View Source
const ResourceReviewListNilKind = "ResourceReviewListNil"

ResourceReviewNilKind is the name of the type used to nil lists of objects of type 'resource_review'.

View Source
const ResourceReviewRequestListKind = "ResourceReviewRequestList"

ResourceReviewRequestListKind is the name of the type used to represent list of objects of type 'resource_review_request'.

View Source
const ResourceReviewRequestListLinkKind = "ResourceReviewRequestListLink"

ResourceReviewRequestListLinkKind is the name of the type used to represent links to list of objects of type 'resource_review_request'.

View Source
const ResourceReviewRequestListNilKind = "ResourceReviewRequestListNil"

ResourceReviewRequestNilKind is the name of the type used to nil lists of objects of type 'resource_review_request'.

View Source
const SelfAccessReviewRequestListKind = "SelfAccessReviewRequestList"

SelfAccessReviewRequestListKind is the name of the type used to represent list of objects of type 'self_access_review_request'.

View Source
const SelfAccessReviewRequestListLinkKind = "SelfAccessReviewRequestListLink"

SelfAccessReviewRequestListLinkKind is the name of the type used to represent links to list of objects of type 'self_access_review_request'.

View Source
const SelfAccessReviewRequestListNilKind = "SelfAccessReviewRequestListNil"

SelfAccessReviewRequestNilKind is the name of the type used to nil lists of objects of type 'self_access_review_request'.

View Source
const SelfAccessReviewResponseListKind = "SelfAccessReviewResponseList"

SelfAccessReviewResponseListKind is the name of the type used to represent list of objects of type 'self_access_review_response'.

View Source
const SelfAccessReviewResponseListLinkKind = "SelfAccessReviewResponseListLink"

SelfAccessReviewResponseListLinkKind is the name of the type used to represent links to list of objects of type 'self_access_review_response'.

View Source
const SelfAccessReviewResponseListNilKind = "SelfAccessReviewResponseListNil"

SelfAccessReviewResponseNilKind is the name of the type used to nil lists of objects of type 'self_access_review_response'.

View Source
const SelfCapabilityReviewRequestListKind = "SelfCapabilityReviewRequestList"

SelfCapabilityReviewRequestListKind is the name of the type used to represent list of objects of type 'self_capability_review_request'.

View Source
const SelfCapabilityReviewRequestListLinkKind = "SelfCapabilityReviewRequestListLink"

SelfCapabilityReviewRequestListLinkKind is the name of the type used to represent links to list of objects of type 'self_capability_review_request'.

View Source
const SelfCapabilityReviewRequestListNilKind = "SelfCapabilityReviewRequestListNil"

SelfCapabilityReviewRequestNilKind is the name of the type used to nil lists of objects of type 'self_capability_review_request'.

View Source
const SelfCapabilityReviewResponseListKind = "SelfCapabilityReviewResponseList"

SelfCapabilityReviewResponseListKind is the name of the type used to represent list of objects of type 'self_capability_review_response'.

View Source
const SelfCapabilityReviewResponseListLinkKind = "SelfCapabilityReviewResponseListLink"

SelfCapabilityReviewResponseListLinkKind is the name of the type used to represent links to list of objects of type 'self_capability_review_response'.

View Source
const SelfCapabilityReviewResponseListNilKind = "SelfCapabilityReviewResponseListNil"

SelfCapabilityReviewResponseNilKind is the name of the type used to nil lists of objects of type 'self_capability_review_response'.

View Source
const SelfFeatureReviewRequestListKind = "SelfFeatureReviewRequestList"

SelfFeatureReviewRequestListKind is the name of the type used to represent list of objects of type 'self_feature_review_request'.

View Source
const SelfFeatureReviewRequestListLinkKind = "SelfFeatureReviewRequestListLink"

SelfFeatureReviewRequestListLinkKind is the name of the type used to represent links to list of objects of type 'self_feature_review_request'.

View Source
const SelfFeatureReviewRequestListNilKind = "SelfFeatureReviewRequestListNil"

SelfFeatureReviewRequestNilKind is the name of the type used to nil lists of objects of type 'self_feature_review_request'.

View Source
const SelfFeatureReviewResponseListKind = "SelfFeatureReviewResponseList"

SelfFeatureReviewResponseListKind is the name of the type used to represent list of objects of type 'self_feature_review_response'.

View Source
const SelfFeatureReviewResponseListLinkKind = "SelfFeatureReviewResponseListLink"

SelfFeatureReviewResponseListLinkKind is the name of the type used to represent links to list of objects of type 'self_feature_review_response'.

View Source
const SelfFeatureReviewResponseListNilKind = "SelfFeatureReviewResponseListNil"

SelfFeatureReviewResponseNilKind is the name of the type used to nil lists of objects of type 'self_feature_review_response'.

View Source
const SelfTermsReviewRequestListKind = "SelfTermsReviewRequestList"

SelfTermsReviewRequestListKind is the name of the type used to represent list of objects of type 'self_terms_review_request'.

View Source
const SelfTermsReviewRequestListLinkKind = "SelfTermsReviewRequestListLink"

SelfTermsReviewRequestListLinkKind is the name of the type used to represent links to list of objects of type 'self_terms_review_request'.

View Source
const SelfTermsReviewRequestListNilKind = "SelfTermsReviewRequestListNil"

SelfTermsReviewRequestNilKind is the name of the type used to nil lists of objects of type 'self_terms_review_request'.

View Source
const TermsReviewRequestListKind = "TermsReviewRequestList"

TermsReviewRequestListKind is the name of the type used to represent list of objects of type 'terms_review_request'.

View Source
const TermsReviewRequestListLinkKind = "TermsReviewRequestListLink"

TermsReviewRequestListLinkKind is the name of the type used to represent links to list of objects of type 'terms_review_request'.

View Source
const TermsReviewRequestListNilKind = "TermsReviewRequestListNil"

TermsReviewRequestNilKind is the name of the type used to nil lists of objects of type 'terms_review_request'.

View Source
const TermsReviewResponseListKind = "TermsReviewResponseList"

TermsReviewResponseListKind is the name of the type used to represent list of objects of type 'terms_review_response'.

View Source
const TermsReviewResponseListLinkKind = "TermsReviewResponseListLink"

TermsReviewResponseListLinkKind is the name of the type used to represent links to list of objects of type 'terms_review_response'.

View Source
const TermsReviewResponseListNilKind = "TermsReviewResponseListNil"

TermsReviewResponseNilKind is the name of the type used to nil lists of objects of type 'terms_review_response'.

Variables

This section is empty.

Functions

func MarshalAccessReviewRequest

func MarshalAccessReviewRequest(object *AccessReviewRequest, writer io.Writer) error

MarshalAccessReviewRequest writes a value of the 'access_review_request' type to the given writer.

func MarshalAccessReviewRequestList

func MarshalAccessReviewRequestList(list []*AccessReviewRequest, writer io.Writer) error

MarshalAccessReviewRequestList writes a list of values of the 'access_review_request' type to the given writer.

func MarshalAccessReviewResponse

func MarshalAccessReviewResponse(object *AccessReviewResponse, writer io.Writer) error

MarshalAccessReviewResponse writes a value of the 'access_review_response' type to the given writer.

func MarshalAccessReviewResponseList

func MarshalAccessReviewResponseList(list []*AccessReviewResponse, writer io.Writer) error

MarshalAccessReviewResponseList writes a list of values of the 'access_review_response' type to the given writer.

func MarshalBooleanList

func MarshalBooleanList(list []bool, writer io.Writer) error

MarshalBooleanList writes a list of values of the 'boolean' type to the given writer.

func MarshalCapabilityReviewRequest

func MarshalCapabilityReviewRequest(object *CapabilityReviewRequest, writer io.Writer) error

MarshalCapabilityReviewRequest writes a value of the 'capability_review_request' type to the given writer.

func MarshalCapabilityReviewRequestList

func MarshalCapabilityReviewRequestList(list []*CapabilityReviewRequest, writer io.Writer) error

MarshalCapabilityReviewRequestList writes a list of values of the 'capability_review_request' type to the given writer.

func MarshalCapabilityReviewResponse

func MarshalCapabilityReviewResponse(object *CapabilityReviewResponse, writer io.Writer) error

MarshalCapabilityReviewResponse writes a value of the 'capability_review_response' type to the given writer.

func MarshalCapabilityReviewResponseList

func MarshalCapabilityReviewResponseList(list []*CapabilityReviewResponse, writer io.Writer) error

MarshalCapabilityReviewResponseList writes a list of values of the 'capability_review_response' type to the given writer.

func MarshalDateList

func MarshalDateList(list []time.Time, writer io.Writer) error

MarshalDateList writes a list of values of the 'date' type to the given writer.

func MarshalExportControlReviewRequest

func MarshalExportControlReviewRequest(object *ExportControlReviewRequest, writer io.Writer) error

MarshalExportControlReviewRequest writes a value of the 'export_control_review_request' type to the given writer.

func MarshalExportControlReviewRequestList

func MarshalExportControlReviewRequestList(list []*ExportControlReviewRequest, writer io.Writer) error

MarshalExportControlReviewRequestList writes a list of values of the 'export_control_review_request' type to the given writer.

func MarshalExportControlReviewResponse

func MarshalExportControlReviewResponse(object *ExportControlReviewResponse, writer io.Writer) error

MarshalExportControlReviewResponse writes a value of the 'export_control_review_response' type to the given writer.

func MarshalExportControlReviewResponseList

func MarshalExportControlReviewResponseList(list []*ExportControlReviewResponse, writer io.Writer) error

MarshalExportControlReviewResponseList writes a list of values of the 'export_control_review_response' type to the given writer.

func MarshalFeatureReviewRequest

func MarshalFeatureReviewRequest(object *FeatureReviewRequest, writer io.Writer) error

MarshalFeatureReviewRequest writes a value of the 'feature_review_request' type to the given writer.

func MarshalFeatureReviewRequestList

func MarshalFeatureReviewRequestList(list []*FeatureReviewRequest, writer io.Writer) error

MarshalFeatureReviewRequestList writes a list of values of the 'feature_review_request' type to the given writer.

func MarshalFeatureReviewResponse

func MarshalFeatureReviewResponse(object *FeatureReviewResponse, writer io.Writer) error

MarshalFeatureReviewResponse writes a value of the 'feature_review_response' type to the given writer.

func MarshalFeatureReviewResponseList

func MarshalFeatureReviewResponseList(list []*FeatureReviewResponse, writer io.Writer) error

MarshalFeatureReviewResponseList writes a list of values of the 'feature_review_response' type to the given writer.

func MarshalFloatList

func MarshalFloatList(list []float64, writer io.Writer) error

MarshalFloatList writes a list of values of the 'float' type to the given writer.

func MarshalIntegerList

func MarshalIntegerList(list []int, writer io.Writer) error

MarshalIntegerList writes a list of values of the 'integer' type to the given writer.

func MarshalInterfaceList

func MarshalInterfaceList(list []interface{}, writer io.Writer) error

MarshalInterfaceList writes a list of values of the 'interface' type to the given writer.

func MarshalLongList

func MarshalLongList(list []int64, writer io.Writer) error

MarshalLongList writes a list of values of the 'long' type to the given writer.

func MarshalMetadata

func MarshalMetadata(object *Metadata, writer io.Writer) error

MarshalMetadata writes a value of the metadata type to the given target, which can be a writer or a JSON encoder.

func MarshalResourceReview

func MarshalResourceReview(object *ResourceReview, writer io.Writer) error

MarshalResourceReview writes a value of the 'resource_review' type to the given writer.

func MarshalResourceReviewList

func MarshalResourceReviewList(list []*ResourceReview, writer io.Writer) error

MarshalResourceReviewList writes a list of values of the 'resource_review' type to the given writer.

func MarshalResourceReviewRequest

func MarshalResourceReviewRequest(object *ResourceReviewRequest, writer io.Writer) error

MarshalResourceReviewRequest writes a value of the 'resource_review_request' type to the given writer.

func MarshalResourceReviewRequestList

func MarshalResourceReviewRequestList(list []*ResourceReviewRequest, writer io.Writer) error

MarshalResourceReviewRequestList writes a list of values of the 'resource_review_request' type to the given writer.

func MarshalSelfAccessReviewRequest

func MarshalSelfAccessReviewRequest(object *SelfAccessReviewRequest, writer io.Writer) error

MarshalSelfAccessReviewRequest writes a value of the 'self_access_review_request' type to the given writer.

func MarshalSelfAccessReviewRequestList

func MarshalSelfAccessReviewRequestList(list []*SelfAccessReviewRequest, writer io.Writer) error

MarshalSelfAccessReviewRequestList writes a list of values of the 'self_access_review_request' type to the given writer.

func MarshalSelfAccessReviewResponse

func MarshalSelfAccessReviewResponse(object *SelfAccessReviewResponse, writer io.Writer) error

MarshalSelfAccessReviewResponse writes a value of the 'self_access_review_response' type to the given writer.

func MarshalSelfAccessReviewResponseList

func MarshalSelfAccessReviewResponseList(list []*SelfAccessReviewResponse, writer io.Writer) error

MarshalSelfAccessReviewResponseList writes a list of values of the 'self_access_review_response' type to the given writer.

func MarshalSelfCapabilityReviewRequest

func MarshalSelfCapabilityReviewRequest(object *SelfCapabilityReviewRequest, writer io.Writer) error

MarshalSelfCapabilityReviewRequest writes a value of the 'self_capability_review_request' type to the given writer.

func MarshalSelfCapabilityReviewRequestList

func MarshalSelfCapabilityReviewRequestList(list []*SelfCapabilityReviewRequest, writer io.Writer) error

MarshalSelfCapabilityReviewRequestList writes a list of values of the 'self_capability_review_request' type to the given writer.

func MarshalSelfCapabilityReviewResponse

func MarshalSelfCapabilityReviewResponse(object *SelfCapabilityReviewResponse, writer io.Writer) error

MarshalSelfCapabilityReviewResponse writes a value of the 'self_capability_review_response' type to the given writer.

func MarshalSelfCapabilityReviewResponseList

func MarshalSelfCapabilityReviewResponseList(list []*SelfCapabilityReviewResponse, writer io.Writer) error

MarshalSelfCapabilityReviewResponseList writes a list of values of the 'self_capability_review_response' type to the given writer.

func MarshalSelfFeatureReviewRequest

func MarshalSelfFeatureReviewRequest(object *SelfFeatureReviewRequest, writer io.Writer) error

MarshalSelfFeatureReviewRequest writes a value of the 'self_feature_review_request' type to the given writer.

func MarshalSelfFeatureReviewRequestList

func MarshalSelfFeatureReviewRequestList(list []*SelfFeatureReviewRequest, writer io.Writer) error

MarshalSelfFeatureReviewRequestList writes a list of values of the 'self_feature_review_request' type to the given writer.

func MarshalSelfFeatureReviewResponse

func MarshalSelfFeatureReviewResponse(object *SelfFeatureReviewResponse, writer io.Writer) error

MarshalSelfFeatureReviewResponse writes a value of the 'self_feature_review_response' type to the given writer.

func MarshalSelfFeatureReviewResponseList

func MarshalSelfFeatureReviewResponseList(list []*SelfFeatureReviewResponse, writer io.Writer) error

MarshalSelfFeatureReviewResponseList writes a list of values of the 'self_feature_review_response' type to the given writer.

func MarshalSelfTermsReviewRequest

func MarshalSelfTermsReviewRequest(object *SelfTermsReviewRequest, writer io.Writer) error

MarshalSelfTermsReviewRequest writes a value of the 'self_terms_review_request' type to the given writer.

func MarshalSelfTermsReviewRequestList

func MarshalSelfTermsReviewRequestList(list []*SelfTermsReviewRequest, writer io.Writer) error

MarshalSelfTermsReviewRequestList writes a list of values of the 'self_terms_review_request' type to the given writer.

func MarshalStringList

func MarshalStringList(list []string, writer io.Writer) error

MarshalStringList writes a list of values of the 'string' type to the given writer.

func MarshalSubscriptionStatusList

func MarshalSubscriptionStatusList(list []SubscriptionStatus, writer io.Writer) error

MarshalSubscriptionStatusList writes a list of values of the 'subscription_status' type to the given writer.

func MarshalTermsReviewRequest

func MarshalTermsReviewRequest(object *TermsReviewRequest, writer io.Writer) error

MarshalTermsReviewRequest writes a value of the 'terms_review_request' type to the given writer.

func MarshalTermsReviewRequestList

func MarshalTermsReviewRequestList(list []*TermsReviewRequest, writer io.Writer) error

MarshalTermsReviewRequestList writes a list of values of the 'terms_review_request' type to the given writer.

func MarshalTermsReviewResponse

func MarshalTermsReviewResponse(object *TermsReviewResponse, writer io.Writer) error

MarshalTermsReviewResponse writes a value of the 'terms_review_response' type to the given writer.

func MarshalTermsReviewResponseList

func MarshalTermsReviewResponseList(list []*TermsReviewResponse, writer io.Writer) error

MarshalTermsReviewResponseList writes a list of values of the 'terms_review_response' type to the given writer.

func ReadBooleanList

func ReadBooleanList(iterator *jsoniter.Iterator) []bool

ReadBooleanList reads list of values of the ”boolean' type from the given iterator.

func ReadDateList

func ReadDateList(iterator *jsoniter.Iterator) []time.Time

ReadDateList reads list of values of the ”date' type from the given iterator.

func ReadFloatList

func ReadFloatList(iterator *jsoniter.Iterator) []float64

ReadFloatList reads list of values of the ”float' type from the given iterator.

func ReadIntegerList

func ReadIntegerList(iterator *jsoniter.Iterator) []int

ReadIntegerList reads list of values of the ”integer' type from the given iterator.

func ReadInterfaceList

func ReadInterfaceList(iterator *jsoniter.Iterator) []interface{}

ReadInterfaceList reads list of values of the ”interface' type from the given iterator.

func ReadLongList

func ReadLongList(iterator *jsoniter.Iterator) []int64

ReadLongList reads list of values of the ”long' type from the given iterator.

func ReadStringList

func ReadStringList(iterator *jsoniter.Iterator) []string

ReadStringList reads list of values of the ”string' type from the given iterator.

func UnmarshalBooleanList

func UnmarshalBooleanList(source interface{}) (items []bool, err error)

UnmarshalBooleanList reads a list of values of the 'boolean' type from the given source, which can be a slice of bytes, a string or a reader.

func UnmarshalDateList

func UnmarshalDateList(source interface{}) (items []time.Time, err error)

UnmarshalDateList reads a list of values of the 'date' type from the given source, which can be a slice of bytes, a string or a reader.

func UnmarshalFloatList

func UnmarshalFloatList(source interface{}) (items []float64, err error)

UnmarshalFloatList reads a list of values of the 'float' type from the given source, which can be a slice of bytes, a string or a reader.

func UnmarshalIntegerList

func UnmarshalIntegerList(source interface{}) (items []int, err error)

UnmarshalIntegerList reads a list of values of the 'integer' type from the given source, which can be a slice of bytes, a string or a reader.

func UnmarshalInterfaceList

func UnmarshalInterfaceList(source interface{}) (items []interface{}, err error)

UnmarshalInterfaceList reads a list of values of the 'interface' type from the given source, which can be a slice of bytes, a string or a reader.

func UnmarshalLongList

func UnmarshalLongList(source interface{}) (items []int64, err error)

UnmarshalLongList reads a list of values of the 'long' type from the given source, which can be a slice of bytes, a string or a reader.

func UnmarshalStringList

func UnmarshalStringList(source interface{}) (items []string, err error)

UnmarshalStringList reads a list of values of the 'string' type from the given source, which can be a slice of bytes, a string or a reader.

func WriteAccessReviewRequest

func WriteAccessReviewRequest(object *AccessReviewRequest, stream *jsoniter.Stream)

WriteAccessReviewRequest writes a value of the 'access_review_request' type to the given stream.

func WriteAccessReviewRequestList

func WriteAccessReviewRequestList(list []*AccessReviewRequest, stream *jsoniter.Stream)

WriteAccessReviewRequestList writes a list of value of the 'access_review_request' type to the given stream.

func WriteAccessReviewResponse

func WriteAccessReviewResponse(object *AccessReviewResponse, stream *jsoniter.Stream)

WriteAccessReviewResponse writes a value of the 'access_review_response' type to the given stream.

func WriteAccessReviewResponseList

func WriteAccessReviewResponseList(list []*AccessReviewResponse, stream *jsoniter.Stream)

WriteAccessReviewResponseList writes a list of value of the 'access_review_response' type to the given stream.

func WriteBooleanList

func WriteBooleanList(list []bool, stream *jsoniter.Stream)

WriteBooleanList writes a list of value of the 'boolean' type to the given stream.

func WriteCapabilityReviewRequest

func WriteCapabilityReviewRequest(object *CapabilityReviewRequest, stream *jsoniter.Stream)

WriteCapabilityReviewRequest writes a value of the 'capability_review_request' type to the given stream.

func WriteCapabilityReviewRequestList

func WriteCapabilityReviewRequestList(list []*CapabilityReviewRequest, stream *jsoniter.Stream)

WriteCapabilityReviewRequestList writes a list of value of the 'capability_review_request' type to the given stream.

func WriteCapabilityReviewResponse

func WriteCapabilityReviewResponse(object *CapabilityReviewResponse, stream *jsoniter.Stream)

WriteCapabilityReviewResponse writes a value of the 'capability_review_response' type to the given stream.

func WriteCapabilityReviewResponseList

func WriteCapabilityReviewResponseList(list []*CapabilityReviewResponse, stream *jsoniter.Stream)

WriteCapabilityReviewResponseList writes a list of value of the 'capability_review_response' type to the given stream.

func WriteDateList

func WriteDateList(list []time.Time, stream *jsoniter.Stream)

WriteDateList writes a list of value of the 'date' type to the given stream.

func WriteExportControlReviewRequest

func WriteExportControlReviewRequest(object *ExportControlReviewRequest, stream *jsoniter.Stream)

WriteExportControlReviewRequest writes a value of the 'export_control_review_request' type to the given stream.

func WriteExportControlReviewRequestList

func WriteExportControlReviewRequestList(list []*ExportControlReviewRequest, stream *jsoniter.Stream)

WriteExportControlReviewRequestList writes a list of value of the 'export_control_review_request' type to the given stream.

func WriteExportControlReviewResponse

func WriteExportControlReviewResponse(object *ExportControlReviewResponse, stream *jsoniter.Stream)

WriteExportControlReviewResponse writes a value of the 'export_control_review_response' type to the given stream.

func WriteExportControlReviewResponseList

func WriteExportControlReviewResponseList(list []*ExportControlReviewResponse, stream *jsoniter.Stream)

WriteExportControlReviewResponseList writes a list of value of the 'export_control_review_response' type to the given stream.

func WriteFeatureReviewRequest

func WriteFeatureReviewRequest(object *FeatureReviewRequest, stream *jsoniter.Stream)

WriteFeatureReviewRequest writes a value of the 'feature_review_request' type to the given stream.

func WriteFeatureReviewRequestList

func WriteFeatureReviewRequestList(list []*FeatureReviewRequest, stream *jsoniter.Stream)

WriteFeatureReviewRequestList writes a list of value of the 'feature_review_request' type to the given stream.

func WriteFeatureReviewResponse

func WriteFeatureReviewResponse(object *FeatureReviewResponse, stream *jsoniter.Stream)

WriteFeatureReviewResponse writes a value of the 'feature_review_response' type to the given stream.

func WriteFeatureReviewResponseList

func WriteFeatureReviewResponseList(list []*FeatureReviewResponse, stream *jsoniter.Stream)

WriteFeatureReviewResponseList writes a list of value of the 'feature_review_response' type to the given stream.

func WriteFloatList

func WriteFloatList(list []float64, stream *jsoniter.Stream)

WriteFloatList writes a list of value of the 'float' type to the given stream.

func WriteIntegerList

func WriteIntegerList(list []int, stream *jsoniter.Stream)

WriteIntegerList writes a list of value of the 'integer' type to the given stream.

func WriteInterfaceList

func WriteInterfaceList(list []interface{}, stream *jsoniter.Stream)

WriteInterfaceList writes a list of value of the 'interface' type to the given stream.

func WriteLongList

func WriteLongList(list []int64, stream *jsoniter.Stream)

WriteLongList writes a list of value of the 'long' type to the given stream.

func WriteResourceReview

func WriteResourceReview(object *ResourceReview, stream *jsoniter.Stream)

WriteResourceReview writes a value of the 'resource_review' type to the given stream.

func WriteResourceReviewList

func WriteResourceReviewList(list []*ResourceReview, stream *jsoniter.Stream)

WriteResourceReviewList writes a list of value of the 'resource_review' type to the given stream.

func WriteResourceReviewRequest

func WriteResourceReviewRequest(object *ResourceReviewRequest, stream *jsoniter.Stream)

WriteResourceReviewRequest writes a value of the 'resource_review_request' type to the given stream.

func WriteResourceReviewRequestList

func WriteResourceReviewRequestList(list []*ResourceReviewRequest, stream *jsoniter.Stream)

WriteResourceReviewRequestList writes a list of value of the 'resource_review_request' type to the given stream.

func WriteSelfAccessReviewRequest

func WriteSelfAccessReviewRequest(object *SelfAccessReviewRequest, stream *jsoniter.Stream)

WriteSelfAccessReviewRequest writes a value of the 'self_access_review_request' type to the given stream.

func WriteSelfAccessReviewRequestList

func WriteSelfAccessReviewRequestList(list []*SelfAccessReviewRequest, stream *jsoniter.Stream)

WriteSelfAccessReviewRequestList writes a list of value of the 'self_access_review_request' type to the given stream.

func WriteSelfAccessReviewResponse

func WriteSelfAccessReviewResponse(object *SelfAccessReviewResponse, stream *jsoniter.Stream)

WriteSelfAccessReviewResponse writes a value of the 'self_access_review_response' type to the given stream.

func WriteSelfAccessReviewResponseList

func WriteSelfAccessReviewResponseList(list []*SelfAccessReviewResponse, stream *jsoniter.Stream)

WriteSelfAccessReviewResponseList writes a list of value of the 'self_access_review_response' type to the given stream.

func WriteSelfCapabilityReviewRequest

func WriteSelfCapabilityReviewRequest(object *SelfCapabilityReviewRequest, stream *jsoniter.Stream)

WriteSelfCapabilityReviewRequest writes a value of the 'self_capability_review_request' type to the given stream.

func WriteSelfCapabilityReviewRequestList

func WriteSelfCapabilityReviewRequestList(list []*SelfCapabilityReviewRequest, stream *jsoniter.Stream)

WriteSelfCapabilityReviewRequestList writes a list of value of the 'self_capability_review_request' type to the given stream.

func WriteSelfCapabilityReviewResponse

func WriteSelfCapabilityReviewResponse(object *SelfCapabilityReviewResponse, stream *jsoniter.Stream)

WriteSelfCapabilityReviewResponse writes a value of the 'self_capability_review_response' type to the given stream.

func WriteSelfCapabilityReviewResponseList

func WriteSelfCapabilityReviewResponseList(list []*SelfCapabilityReviewResponse, stream *jsoniter.Stream)

WriteSelfCapabilityReviewResponseList writes a list of value of the 'self_capability_review_response' type to the given stream.

func WriteSelfFeatureReviewRequest

func WriteSelfFeatureReviewRequest(object *SelfFeatureReviewRequest, stream *jsoniter.Stream)

WriteSelfFeatureReviewRequest writes a value of the 'self_feature_review_request' type to the given stream.

func WriteSelfFeatureReviewRequestList

func WriteSelfFeatureReviewRequestList(list []*SelfFeatureReviewRequest, stream *jsoniter.Stream)

WriteSelfFeatureReviewRequestList writes a list of value of the 'self_feature_review_request' type to the given stream.

func WriteSelfFeatureReviewResponse

func WriteSelfFeatureReviewResponse(object *SelfFeatureReviewResponse, stream *jsoniter.Stream)

WriteSelfFeatureReviewResponse writes a value of the 'self_feature_review_response' type to the given stream.

func WriteSelfFeatureReviewResponseList

func WriteSelfFeatureReviewResponseList(list []*SelfFeatureReviewResponse, stream *jsoniter.Stream)

WriteSelfFeatureReviewResponseList writes a list of value of the 'self_feature_review_response' type to the given stream.

func WriteSelfTermsReviewRequest

func WriteSelfTermsReviewRequest(object *SelfTermsReviewRequest, stream *jsoniter.Stream)

WriteSelfTermsReviewRequest writes a value of the 'self_terms_review_request' type to the given stream.

func WriteSelfTermsReviewRequestList

func WriteSelfTermsReviewRequestList(list []*SelfTermsReviewRequest, stream *jsoniter.Stream)

WriteSelfTermsReviewRequestList writes a list of value of the 'self_terms_review_request' type to the given stream.

func WriteStringList

func WriteStringList(list []string, stream *jsoniter.Stream)

WriteStringList writes a list of value of the 'string' type to the given stream.

func WriteSubscriptionStatusList

func WriteSubscriptionStatusList(list []SubscriptionStatus, stream *jsoniter.Stream)

WriteSubscriptionStatusList writes a list of value of the 'subscription_status' type to the given stream.

func WriteTermsReviewRequest

func WriteTermsReviewRequest(object *TermsReviewRequest, stream *jsoniter.Stream)

WriteTermsReviewRequest writes a value of the 'terms_review_request' type to the given stream.

func WriteTermsReviewRequestList

func WriteTermsReviewRequestList(list []*TermsReviewRequest, stream *jsoniter.Stream)

WriteTermsReviewRequestList writes a list of value of the 'terms_review_request' type to the given stream.

func WriteTermsReviewResponse

func WriteTermsReviewResponse(object *TermsReviewResponse, stream *jsoniter.Stream)

WriteTermsReviewResponse writes a value of the 'terms_review_response' type to the given stream.

func WriteTermsReviewResponseList

func WriteTermsReviewResponseList(list []*TermsReviewResponse, stream *jsoniter.Stream)

WriteTermsReviewResponseList writes a list of value of the 'terms_review_response' type to the given stream.

Types

type AccessReviewRequest

type AccessReviewRequest struct {
	// contains filtered or unexported fields
}

AccessReviewRequest represents the values of the 'access_review_request' type.

Representation of an access review

func ReadAccessReviewRequest

func ReadAccessReviewRequest(iterator *jsoniter.Iterator) *AccessReviewRequest

ReadAccessReviewRequest reads a value of the 'access_review_request' type from the given iterator.

func ReadAccessReviewRequestList

func ReadAccessReviewRequestList(iterator *jsoniter.Iterator) []*AccessReviewRequest

ReadAccessReviewRequestList reads list of values of the ”access_review_request' type from the given iterator.

func UnmarshalAccessReviewRequest

func UnmarshalAccessReviewRequest(source interface{}) (object *AccessReviewRequest, err error)

UnmarshalAccessReviewRequest reads a value of the 'access_review_request' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalAccessReviewRequestList

func UnmarshalAccessReviewRequestList(source interface{}) (items []*AccessReviewRequest, err error)

UnmarshalAccessReviewRequestList reads a list of values of the 'access_review_request' type from the given source, which can be a slice of bytes, a string or a reader.

func (*AccessReviewRequest) AccountUsername

func (o *AccessReviewRequest) AccountUsername() string

AccountUsername returns the value of the 'account_username' attribute, or the zero value of the type if the attribute doesn't have a value.

Defines the username of the account of which access is being reviewed

func (*AccessReviewRequest) Action

func (o *AccessReviewRequest) Action() string

Action returns the value of the 'action' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates the action, one of: [get,list,create,delete,update]

func (*AccessReviewRequest) ClusterID

func (o *AccessReviewRequest) ClusterID() string

ClusterID returns the value of the 'cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates which Cluster (internal id) the resource type belongs to

func (*AccessReviewRequest) ClusterUUID

func (o *AccessReviewRequest) ClusterUUID() string

ClusterUUID returns the value of the 'cluster_UUID' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates which Cluster (external id) the resource type belongs to

func (*AccessReviewRequest) Empty

func (o *AccessReviewRequest) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*AccessReviewRequest) GetAccountUsername

func (o *AccessReviewRequest) GetAccountUsername() (value string, ok bool)

GetAccountUsername returns the value of the 'account_username' attribute and a flag indicating if the attribute has a value.

Defines the username of the account of which access is being reviewed

func (*AccessReviewRequest) GetAction

func (o *AccessReviewRequest) GetAction() (value string, ok bool)

GetAction returns the value of the 'action' attribute and a flag indicating if the attribute has a value.

Indicates the action, one of: [get,list,create,delete,update]

func (*AccessReviewRequest) GetClusterID

func (o *AccessReviewRequest) GetClusterID() (value string, ok bool)

GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.

Indicates which Cluster (internal id) the resource type belongs to

func (*AccessReviewRequest) GetClusterUUID

func (o *AccessReviewRequest) GetClusterUUID() (value string, ok bool)

GetClusterUUID returns the value of the 'cluster_UUID' attribute and a flag indicating if the attribute has a value.

Indicates which Cluster (external id) the resource type belongs to

func (*AccessReviewRequest) GetOrganizationID

func (o *AccessReviewRequest) GetOrganizationID() (value string, ok bool)

GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.

Indicates which Organization the resource type belongs to

func (*AccessReviewRequest) GetResourceType

func (o *AccessReviewRequest) GetResourceType() (value string, ok bool)

GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.

Indicates the type of the resource an action would be taken on. See uhc-account-manager/openapi/openapi.yaml for a list of possible values

func (*AccessReviewRequest) GetSubscriptionID

func (o *AccessReviewRequest) GetSubscriptionID() (value string, ok bool)

GetSubscriptionID returns the value of the 'subscription_ID' attribute and a flag indicating if the attribute has a value.

Indicates which Subscription the resource type belongs to

func (*AccessReviewRequest) OrganizationID

func (o *AccessReviewRequest) OrganizationID() string

OrganizationID returns the value of the 'organization_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates which Organization the resource type belongs to

func (*AccessReviewRequest) ResourceType

func (o *AccessReviewRequest) ResourceType() string

ResourceType returns the value of the 'resource_type' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates the type of the resource an action would be taken on. See uhc-account-manager/openapi/openapi.yaml for a list of possible values

func (*AccessReviewRequest) SubscriptionID

func (o *AccessReviewRequest) SubscriptionID() string

SubscriptionID returns the value of the 'subscription_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates which Subscription the resource type belongs to

type AccessReviewRequestBuilder

type AccessReviewRequestBuilder struct {
	// contains filtered or unexported fields
}

Representation of an access review

func NewAccessReviewRequest

func NewAccessReviewRequest() *AccessReviewRequestBuilder

NewAccessReviewRequest creates a new builder of 'access_review_request' objects.

func (*AccessReviewRequestBuilder) AccountUsername

AccountUsername sets the value of the 'account_username' attribute to the given value.

func (*AccessReviewRequestBuilder) Action

Action sets the value of the 'action' attribute to the given value.

func (*AccessReviewRequestBuilder) Build

func (b *AccessReviewRequestBuilder) Build() (object *AccessReviewRequest, err error)

Build creates a 'access_review_request' object using the configuration stored in the builder.

func (*AccessReviewRequestBuilder) ClusterID

ClusterID sets the value of the 'cluster_ID' attribute to the given value.

func (*AccessReviewRequestBuilder) ClusterUUID

ClusterUUID sets the value of the 'cluster_UUID' attribute to the given value.

func (*AccessReviewRequestBuilder) Copy

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AccessReviewRequestBuilder) Empty

func (b *AccessReviewRequestBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*AccessReviewRequestBuilder) OrganizationID

OrganizationID sets the value of the 'organization_ID' attribute to the given value.

func (*AccessReviewRequestBuilder) ResourceType

ResourceType sets the value of the 'resource_type' attribute to the given value.

func (*AccessReviewRequestBuilder) SubscriptionID

SubscriptionID sets the value of the 'subscription_ID' attribute to the given value.

type AccessReviewRequestList

type AccessReviewRequestList struct {
	// contains filtered or unexported fields
}

AccessReviewRequestList is a list of values of the 'access_review_request' type.

func (*AccessReviewRequestList) Each

func (l *AccessReviewRequestList) Each(f func(item *AccessReviewRequest) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AccessReviewRequestList) Empty

func (l *AccessReviewRequestList) Empty() bool

Empty returns true if the list is empty.

func (*AccessReviewRequestList) Get

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AccessReviewRequestList) Items

Items returns the items of the list.

func (*AccessReviewRequestList) Len

func (l *AccessReviewRequestList) Len() int

Len returns the length of the list.

func (*AccessReviewRequestList) Range

func (l *AccessReviewRequestList) Range(f func(index int, item *AccessReviewRequest) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AccessReviewRequestList) SetHREF

func (l *AccessReviewRequestList) SetHREF(href string)

Items sets the items of the list.

func (*AccessReviewRequestList) SetItems

func (l *AccessReviewRequestList) SetItems(items []*AccessReviewRequest)

Items sets the items of the list.

func (l *AccessReviewRequestList) SetLink(link bool)

Items sets the items of the list.

func (*AccessReviewRequestList) Slice

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type AccessReviewRequestListBuilder

type AccessReviewRequestListBuilder struct {
	// contains filtered or unexported fields
}

AccessReviewRequestListBuilder contains the data and logic needed to build 'access_review_request' objects.

func NewAccessReviewRequestList

func NewAccessReviewRequestList() *AccessReviewRequestListBuilder

NewAccessReviewRequestList creates a new builder of 'access_review_request' objects.

func (*AccessReviewRequestListBuilder) Build

Build creates a list of 'access_review_request' objects using the configuration stored in the builder.

func (*AccessReviewRequestListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AccessReviewRequestListBuilder) Empty

Empty returns true if the list is empty.

func (*AccessReviewRequestListBuilder) Items

Items sets the items of the list.

type AccessReviewResponse

type AccessReviewResponse struct {
	// contains filtered or unexported fields
}

AccessReviewResponse represents the values of the 'access_review_response' type.

Representation of an access review response

func ReadAccessReviewResponse

func ReadAccessReviewResponse(iterator *jsoniter.Iterator) *AccessReviewResponse

ReadAccessReviewResponse reads a value of the 'access_review_response' type from the given iterator.

func ReadAccessReviewResponseList

func ReadAccessReviewResponseList(iterator *jsoniter.Iterator) []*AccessReviewResponse

ReadAccessReviewResponseList reads list of values of the ”access_review_response' type from the given iterator.

func UnmarshalAccessReviewResponse

func UnmarshalAccessReviewResponse(source interface{}) (object *AccessReviewResponse, err error)

UnmarshalAccessReviewResponse reads a value of the 'access_review_response' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalAccessReviewResponseList

func UnmarshalAccessReviewResponseList(source interface{}) (items []*AccessReviewResponse, err error)

UnmarshalAccessReviewResponseList reads a list of values of the 'access_review_response' type from the given source, which can be a slice of bytes, a string or a reader.

func (*AccessReviewResponse) AccountUsername

func (o *AccessReviewResponse) AccountUsername() string

AccountUsername returns the value of the 'account_username' attribute, or the zero value of the type if the attribute doesn't have a value.

Defines the username of the account of which access is being reviewed.

func (*AccessReviewResponse) Action

func (o *AccessReviewResponse) Action() string

Action returns the value of the 'action' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates the action, one of: [get,list,create,delete,update].

func (*AccessReviewResponse) Allowed

func (o *AccessReviewResponse) Allowed() bool

Allowed returns the value of the 'allowed' attribute, or the zero value of the type if the attribute doesn't have a value.

Defines whether the action on the specified resource type is allowed.

func (*AccessReviewResponse) ClusterID

func (o *AccessReviewResponse) ClusterID() string

ClusterID returns the value of the 'cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates which Cluster (internal id) the resource type belongs to.

func (*AccessReviewResponse) ClusterUUID

func (o *AccessReviewResponse) ClusterUUID() string

ClusterUUID returns the value of the 'cluster_UUID' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates which Cluster (external id) the resource type belongs to.

func (*AccessReviewResponse) Empty

func (o *AccessReviewResponse) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*AccessReviewResponse) GetAccountUsername

func (o *AccessReviewResponse) GetAccountUsername() (value string, ok bool)

GetAccountUsername returns the value of the 'account_username' attribute and a flag indicating if the attribute has a value.

Defines the username of the account of which access is being reviewed.

func (*AccessReviewResponse) GetAction

func (o *AccessReviewResponse) GetAction() (value string, ok bool)

GetAction returns the value of the 'action' attribute and a flag indicating if the attribute has a value.

Indicates the action, one of: [get,list,create,delete,update].

func (*AccessReviewResponse) GetAllowed

func (o *AccessReviewResponse) GetAllowed() (value bool, ok bool)

GetAllowed returns the value of the 'allowed' attribute and a flag indicating if the attribute has a value.

Defines whether the action on the specified resource type is allowed.

func (*AccessReviewResponse) GetClusterID

func (o *AccessReviewResponse) GetClusterID() (value string, ok bool)

GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.

Indicates which Cluster (internal id) the resource type belongs to.

func (*AccessReviewResponse) GetClusterUUID

func (o *AccessReviewResponse) GetClusterUUID() (value string, ok bool)

GetClusterUUID returns the value of the 'cluster_UUID' attribute and a flag indicating if the attribute has a value.

Indicates which Cluster (external id) the resource type belongs to.

func (*AccessReviewResponse) GetIsOCMInternal

func (o *AccessReviewResponse) GetIsOCMInternal() (value bool, ok bool)

GetIsOCMInternal returns the value of the 'is_OCM_internal' attribute and a flag indicating if the attribute has a value.

Defines whether an account is ocm internal.

func (*AccessReviewResponse) GetOrganizationID

func (o *AccessReviewResponse) GetOrganizationID() (value string, ok bool)

GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.

Indicates which Organization the resource type belongs to.

func (*AccessReviewResponse) GetReason

func (o *AccessReviewResponse) GetReason() (value string, ok bool)

GetReason returns the value of the 'reason' attribute and a flag indicating if the attribute has a value.

Defines further context for the value in allowed (if applicable).

func (*AccessReviewResponse) GetResourceType

func (o *AccessReviewResponse) GetResourceType() (value string, ok bool)

GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.

Indicates the type of the resource an action would be taken on. See uhc-account-manager/openapi/openapi.yaml for a list of possible values.

func (*AccessReviewResponse) GetSubscriptionID

func (o *AccessReviewResponse) GetSubscriptionID() (value string, ok bool)

GetSubscriptionID returns the value of the 'subscription_ID' attribute and a flag indicating if the attribute has a value.

Indicates which Subscription the resource type belongs to.

func (*AccessReviewResponse) IsOCMInternal

func (o *AccessReviewResponse) IsOCMInternal() bool

IsOCMInternal returns the value of the 'is_OCM_internal' attribute, or the zero value of the type if the attribute doesn't have a value.

Defines whether an account is ocm internal.

func (*AccessReviewResponse) OrganizationID

func (o *AccessReviewResponse) OrganizationID() string

OrganizationID returns the value of the 'organization_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates which Organization the resource type belongs to.

func (*AccessReviewResponse) Reason

func (o *AccessReviewResponse) Reason() string

Reason returns the value of the 'reason' attribute, or the zero value of the type if the attribute doesn't have a value.

Defines further context for the value in allowed (if applicable).

func (*AccessReviewResponse) ResourceType

func (o *AccessReviewResponse) ResourceType() string

ResourceType returns the value of the 'resource_type' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates the type of the resource an action would be taken on. See uhc-account-manager/openapi/openapi.yaml for a list of possible values.

func (*AccessReviewResponse) SubscriptionID

func (o *AccessReviewResponse) SubscriptionID() string

SubscriptionID returns the value of the 'subscription_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates which Subscription the resource type belongs to.

type AccessReviewResponseBuilder

type AccessReviewResponseBuilder struct {
	// contains filtered or unexported fields
}

Representation of an access review response

func NewAccessReviewResponse

func NewAccessReviewResponse() *AccessReviewResponseBuilder

NewAccessReviewResponse creates a new builder of 'access_review_response' objects.

func (*AccessReviewResponseBuilder) AccountUsername

AccountUsername sets the value of the 'account_username' attribute to the given value.

func (*AccessReviewResponseBuilder) Action

Action sets the value of the 'action' attribute to the given value.

func (*AccessReviewResponseBuilder) Allowed

Allowed sets the value of the 'allowed' attribute to the given value.

func (*AccessReviewResponseBuilder) Build

func (b *AccessReviewResponseBuilder) Build() (object *AccessReviewResponse, err error)

Build creates a 'access_review_response' object using the configuration stored in the builder.

func (*AccessReviewResponseBuilder) ClusterID

ClusterID sets the value of the 'cluster_ID' attribute to the given value.

func (*AccessReviewResponseBuilder) ClusterUUID

ClusterUUID sets the value of the 'cluster_UUID' attribute to the given value.

func (*AccessReviewResponseBuilder) Copy

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AccessReviewResponseBuilder) Empty

func (b *AccessReviewResponseBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*AccessReviewResponseBuilder) IsOCMInternal

IsOCMInternal sets the value of the 'is_OCM_internal' attribute to the given value.

func (*AccessReviewResponseBuilder) OrganizationID

OrganizationID sets the value of the 'organization_ID' attribute to the given value.

func (*AccessReviewResponseBuilder) Reason

Reason sets the value of the 'reason' attribute to the given value.

func (*AccessReviewResponseBuilder) ResourceType

ResourceType sets the value of the 'resource_type' attribute to the given value.

func (*AccessReviewResponseBuilder) SubscriptionID

SubscriptionID sets the value of the 'subscription_ID' attribute to the given value.

type AccessReviewResponseList

type AccessReviewResponseList struct {
	// contains filtered or unexported fields
}

AccessReviewResponseList is a list of values of the 'access_review_response' type.

func (*AccessReviewResponseList) Each

func (l *AccessReviewResponseList) Each(f func(item *AccessReviewResponse) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AccessReviewResponseList) Empty

func (l *AccessReviewResponseList) Empty() bool

Empty returns true if the list is empty.

func (*AccessReviewResponseList) Get

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AccessReviewResponseList) Items

Items returns the items of the list.

func (*AccessReviewResponseList) Len

func (l *AccessReviewResponseList) Len() int

Len returns the length of the list.

func (*AccessReviewResponseList) Range

func (l *AccessReviewResponseList) Range(f func(index int, item *AccessReviewResponse) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AccessReviewResponseList) SetHREF

func (l *AccessReviewResponseList) SetHREF(href string)

Items sets the items of the list.

func (*AccessReviewResponseList) SetItems

func (l *AccessReviewResponseList) SetItems(items []*AccessReviewResponse)

Items sets the items of the list.

func (l *AccessReviewResponseList) SetLink(link bool)

Items sets the items of the list.

func (*AccessReviewResponseList) Slice

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type AccessReviewResponseListBuilder

type AccessReviewResponseListBuilder struct {
	// contains filtered or unexported fields
}

AccessReviewResponseListBuilder contains the data and logic needed to build 'access_review_response' objects.

func NewAccessReviewResponseList

func NewAccessReviewResponseList() *AccessReviewResponseListBuilder

NewAccessReviewResponseList creates a new builder of 'access_review_response' objects.

func (*AccessReviewResponseListBuilder) Build

Build creates a list of 'access_review_response' objects using the configuration stored in the builder.

func (*AccessReviewResponseListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AccessReviewResponseListBuilder) Empty

Empty returns true if the list is empty.

func (*AccessReviewResponseListBuilder) Items

Items sets the items of the list.

type CapabilityReviewRequest

type CapabilityReviewRequest struct {
	// contains filtered or unexported fields
}

CapabilityReviewRequest represents the values of the 'capability_review_request' type.

Representation of a capability review.

func ReadCapabilityReviewRequest

func ReadCapabilityReviewRequest(iterator *jsoniter.Iterator) *CapabilityReviewRequest

ReadCapabilityReviewRequest reads a value of the 'capability_review_request' type from the given iterator.

func ReadCapabilityReviewRequestList

func ReadCapabilityReviewRequestList(iterator *jsoniter.Iterator) []*CapabilityReviewRequest

ReadCapabilityReviewRequestList reads list of values of the ”capability_review_request' type from the given iterator.

func UnmarshalCapabilityReviewRequest

func UnmarshalCapabilityReviewRequest(source interface{}) (object *CapabilityReviewRequest, err error)

UnmarshalCapabilityReviewRequest reads a value of the 'capability_review_request' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalCapabilityReviewRequestList

func UnmarshalCapabilityReviewRequestList(source interface{}) (items []*CapabilityReviewRequest, err error)

UnmarshalCapabilityReviewRequestList reads a list of values of the 'capability_review_request' type from the given source, which can be a slice of bytes, a string or a reader.

func (*CapabilityReviewRequest) AccountUsername

func (o *CapabilityReviewRequest) AccountUsername() string

AccountUsername returns the value of the 'account_username' attribute, or the zero value of the type if the attribute doesn't have a value.

Defines the username of the account of which capability is being reviewed.

func (*CapabilityReviewRequest) Capability

func (o *CapabilityReviewRequest) Capability() string

Capability returns the value of the 'capability' attribute, or the zero value of the type if the attribute doesn't have a value.

Capability to review [manage_cluster_admin].

func (*CapabilityReviewRequest) ClusterID

func (o *CapabilityReviewRequest) ClusterID() string

ClusterID returns the value of the 'cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates which Cluster (internal id) the resource type belongs to.

func (*CapabilityReviewRequest) Empty

func (o *CapabilityReviewRequest) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*CapabilityReviewRequest) GetAccountUsername

func (o *CapabilityReviewRequest) GetAccountUsername() (value string, ok bool)

GetAccountUsername returns the value of the 'account_username' attribute and a flag indicating if the attribute has a value.

Defines the username of the account of which capability is being reviewed.

func (*CapabilityReviewRequest) GetCapability

func (o *CapabilityReviewRequest) GetCapability() (value string, ok bool)

GetCapability returns the value of the 'capability' attribute and a flag indicating if the attribute has a value.

Capability to review [manage_cluster_admin].

func (*CapabilityReviewRequest) GetClusterID

func (o *CapabilityReviewRequest) GetClusterID() (value string, ok bool)

GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.

Indicates which Cluster (internal id) the resource type belongs to.

func (*CapabilityReviewRequest) GetOrganizationID

func (o *CapabilityReviewRequest) GetOrganizationID() (value string, ok bool)

GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.

Indicates which Organization the resource type belongs to.

func (*CapabilityReviewRequest) GetResourceType

func (o *CapabilityReviewRequest) GetResourceType() (value string, ok bool)

GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.

Indicates the type of the resource. See uhc-account-manager/openapi/openapi.yaml for a list of possible values.

func (*CapabilityReviewRequest) GetSubscriptionID

func (o *CapabilityReviewRequest) GetSubscriptionID() (value string, ok bool)

GetSubscriptionID returns the value of the 'subscription_ID' attribute and a flag indicating if the attribute has a value.

Indicates which Subscription the resource type belongs to.

func (*CapabilityReviewRequest) GetType

func (o *CapabilityReviewRequest) GetType() (value string, ok bool)

GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.

Type of capability [Cluster].

func (*CapabilityReviewRequest) OrganizationID

func (o *CapabilityReviewRequest) OrganizationID() string

OrganizationID returns the value of the 'organization_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates which Organization the resource type belongs to.

func (*CapabilityReviewRequest) ResourceType

func (o *CapabilityReviewRequest) ResourceType() string

ResourceType returns the value of the 'resource_type' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates the type of the resource. See uhc-account-manager/openapi/openapi.yaml for a list of possible values.

func (*CapabilityReviewRequest) SubscriptionID

func (o *CapabilityReviewRequest) SubscriptionID() string

SubscriptionID returns the value of the 'subscription_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates which Subscription the resource type belongs to.

func (*CapabilityReviewRequest) Type

func (o *CapabilityReviewRequest) Type() string

Type returns the value of the 'type' attribute, or the zero value of the type if the attribute doesn't have a value.

Type of capability [Cluster].

type CapabilityReviewRequestBuilder

type CapabilityReviewRequestBuilder struct {
	// contains filtered or unexported fields
}

Representation of a capability review.

func NewCapabilityReviewRequest

func NewCapabilityReviewRequest() *CapabilityReviewRequestBuilder

NewCapabilityReviewRequest creates a new builder of 'capability_review_request' objects.

func (*CapabilityReviewRequestBuilder) AccountUsername

AccountUsername sets the value of the 'account_username' attribute to the given value.

func (*CapabilityReviewRequestBuilder) Build

Build creates a 'capability_review_request' object using the configuration stored in the builder.

func (*CapabilityReviewRequestBuilder) Capability

Capability sets the value of the 'capability' attribute to the given value.

func (*CapabilityReviewRequestBuilder) ClusterID

ClusterID sets the value of the 'cluster_ID' attribute to the given value.

func (*CapabilityReviewRequestBuilder) Copy

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*CapabilityReviewRequestBuilder) Empty

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*CapabilityReviewRequestBuilder) OrganizationID

OrganizationID sets the value of the 'organization_ID' attribute to the given value.

func (*CapabilityReviewRequestBuilder) ResourceType

ResourceType sets the value of the 'resource_type' attribute to the given value.

func (*CapabilityReviewRequestBuilder) SubscriptionID

SubscriptionID sets the value of the 'subscription_ID' attribute to the given value.

func (*CapabilityReviewRequestBuilder) Type

Type sets the value of the 'type' attribute to the given value.

type CapabilityReviewRequestList

type CapabilityReviewRequestList struct {
	// contains filtered or unexported fields
}

CapabilityReviewRequestList is a list of values of the 'capability_review_request' type.

func (*CapabilityReviewRequestList) Each

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*CapabilityReviewRequestList) Empty

func (l *CapabilityReviewRequestList) Empty() bool

Empty returns true if the list is empty.

func (*CapabilityReviewRequestList) Get

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*CapabilityReviewRequestList) Items

Items returns the items of the list.

func (*CapabilityReviewRequestList) Len

Len returns the length of the list.

func (*CapabilityReviewRequestList) Range

func (l *CapabilityReviewRequestList) Range(f func(index int, item *CapabilityReviewRequest) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*CapabilityReviewRequestList) SetHREF

func (l *CapabilityReviewRequestList) SetHREF(href string)

Items sets the items of the list.

func (*CapabilityReviewRequestList) SetItems

Items sets the items of the list.

func (l *CapabilityReviewRequestList) SetLink(link bool)

Items sets the items of the list.

func (*CapabilityReviewRequestList) Slice

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type CapabilityReviewRequestListBuilder

type CapabilityReviewRequestListBuilder struct {
	// contains filtered or unexported fields
}

CapabilityReviewRequestListBuilder contains the data and logic needed to build 'capability_review_request' objects.

func NewCapabilityReviewRequestList

func NewCapabilityReviewRequestList() *CapabilityReviewRequestListBuilder

NewCapabilityReviewRequestList creates a new builder of 'capability_review_request' objects.

func (*CapabilityReviewRequestListBuilder) Build

Build creates a list of 'capability_review_request' objects using the configuration stored in the builder.

func (*CapabilityReviewRequestListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*CapabilityReviewRequestListBuilder) Empty

Empty returns true if the list is empty.

func (*CapabilityReviewRequestListBuilder) Items

Items sets the items of the list.

type CapabilityReviewResponse

type CapabilityReviewResponse struct {
	// contains filtered or unexported fields
}

CapabilityReviewResponse represents the values of the 'capability_review_response' type.

Representation of a capability review response.

func ReadCapabilityReviewResponse

func ReadCapabilityReviewResponse(iterator *jsoniter.Iterator) *CapabilityReviewResponse

ReadCapabilityReviewResponse reads a value of the 'capability_review_response' type from the given iterator.

func ReadCapabilityReviewResponseList

func ReadCapabilityReviewResponseList(iterator *jsoniter.Iterator) []*CapabilityReviewResponse

ReadCapabilityReviewResponseList reads list of values of the ”capability_review_response' type from the given iterator.

func UnmarshalCapabilityReviewResponse

func UnmarshalCapabilityReviewResponse(source interface{}) (object *CapabilityReviewResponse, err error)

UnmarshalCapabilityReviewResponse reads a value of the 'capability_review_response' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalCapabilityReviewResponseList

func UnmarshalCapabilityReviewResponseList(source interface{}) (items []*CapabilityReviewResponse, err error)

UnmarshalCapabilityReviewResponseList reads a list of values of the 'capability_review_response' type from the given source, which can be a slice of bytes, a string or a reader.

func (*CapabilityReviewResponse) Empty

func (o *CapabilityReviewResponse) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*CapabilityReviewResponse) GetResult

func (o *CapabilityReviewResponse) GetResult() (value string, ok bool)

GetResult returns the value of the 'result' attribute and a flag indicating if the attribute has a value.

func (*CapabilityReviewResponse) Result

func (o *CapabilityReviewResponse) Result() string

Result returns the value of the 'result' attribute, or the zero value of the type if the attribute doesn't have a value.

type CapabilityReviewResponseBuilder

type CapabilityReviewResponseBuilder struct {
	// contains filtered or unexported fields
}

Representation of a capability review response.

func NewCapabilityReviewResponse

func NewCapabilityReviewResponse() *CapabilityReviewResponseBuilder

NewCapabilityReviewResponse creates a new builder of 'capability_review_response' objects.

func (*CapabilityReviewResponseBuilder) Build

Build creates a 'capability_review_response' object using the configuration stored in the builder.

func (*CapabilityReviewResponseBuilder) Copy

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*CapabilityReviewResponseBuilder) Empty

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*CapabilityReviewResponseBuilder) Result

Result sets the value of the 'result' attribute to the given value.

type CapabilityReviewResponseList

type CapabilityReviewResponseList struct {
	// contains filtered or unexported fields
}

CapabilityReviewResponseList is a list of values of the 'capability_review_response' type.

func (*CapabilityReviewResponseList) Each

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*CapabilityReviewResponseList) Empty

Empty returns true if the list is empty.

func (*CapabilityReviewResponseList) Get

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*CapabilityReviewResponseList) Items

Items returns the items of the list.

func (*CapabilityReviewResponseList) Len

Len returns the length of the list.

func (*CapabilityReviewResponseList) Range

func (l *CapabilityReviewResponseList) Range(f func(index int, item *CapabilityReviewResponse) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*CapabilityReviewResponseList) SetHREF

func (l *CapabilityReviewResponseList) SetHREF(href string)

Items sets the items of the list.

func (*CapabilityReviewResponseList) SetItems

Items sets the items of the list.

func (l *CapabilityReviewResponseList) SetLink(link bool)

Items sets the items of the list.

func (*CapabilityReviewResponseList) Slice

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type CapabilityReviewResponseListBuilder

type CapabilityReviewResponseListBuilder struct {
	// contains filtered or unexported fields
}

CapabilityReviewResponseListBuilder contains the data and logic needed to build 'capability_review_response' objects.

func NewCapabilityReviewResponseList

func NewCapabilityReviewResponseList() *CapabilityReviewResponseListBuilder

NewCapabilityReviewResponseList creates a new builder of 'capability_review_response' objects.

func (*CapabilityReviewResponseListBuilder) Build

Build creates a list of 'capability_review_response' objects using the configuration stored in the builder.

func (*CapabilityReviewResponseListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*CapabilityReviewResponseListBuilder) Empty

Empty returns true if the list is empty.

func (*CapabilityReviewResponseListBuilder) Items

Items sets the items of the list.

type ExportControlReviewRequest

type ExportControlReviewRequest struct {
	// contains filtered or unexported fields
}

ExportControlReviewRequest represents the values of the 'export_control_review_request' type.

func ReadExportControlReviewRequest

func ReadExportControlReviewRequest(iterator *jsoniter.Iterator) *ExportControlReviewRequest

ReadExportControlReviewRequest reads a value of the 'export_control_review_request' type from the given iterator.

func ReadExportControlReviewRequestList

func ReadExportControlReviewRequestList(iterator *jsoniter.Iterator) []*ExportControlReviewRequest

ReadExportControlReviewRequestList reads list of values of the ”export_control_review_request' type from the given iterator.

func UnmarshalExportControlReviewRequest

func UnmarshalExportControlReviewRequest(source interface{}) (object *ExportControlReviewRequest, err error)

UnmarshalExportControlReviewRequest reads a value of the 'export_control_review_request' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalExportControlReviewRequestList

func UnmarshalExportControlReviewRequestList(source interface{}) (items []*ExportControlReviewRequest, err error)

UnmarshalExportControlReviewRequestList reads a list of values of the 'export_control_review_request' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ExportControlReviewRequest) AccountUsername

func (o *ExportControlReviewRequest) AccountUsername() string

AccountUsername returns the value of the 'account_username' attribute, or the zero value of the type if the attribute doesn't have a value.

func (*ExportControlReviewRequest) Empty

func (o *ExportControlReviewRequest) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ExportControlReviewRequest) GetAccountUsername

func (o *ExportControlReviewRequest) GetAccountUsername() (value string, ok bool)

GetAccountUsername returns the value of the 'account_username' attribute and a flag indicating if the attribute has a value.

type ExportControlReviewRequestBuilder

type ExportControlReviewRequestBuilder struct {
	// contains filtered or unexported fields
}

func NewExportControlReviewRequest

func NewExportControlReviewRequest() *ExportControlReviewRequestBuilder

NewExportControlReviewRequest creates a new builder of 'export_control_review_request' objects.

func (*ExportControlReviewRequestBuilder) AccountUsername

AccountUsername sets the value of the 'account_username' attribute to the given value.

func (*ExportControlReviewRequestBuilder) Build

Build creates a 'export_control_review_request' object using the configuration stored in the builder.

func (*ExportControlReviewRequestBuilder) Copy

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ExportControlReviewRequestBuilder) Empty

Empty returns true if the builder is empty, i.e. no attribute has a value.

type ExportControlReviewRequestList

type ExportControlReviewRequestList struct {
	// contains filtered or unexported fields
}

ExportControlReviewRequestList is a list of values of the 'export_control_review_request' type.

func (*ExportControlReviewRequestList) Each

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ExportControlReviewRequestList) Empty

Empty returns true if the list is empty.

func (*ExportControlReviewRequestList) Get

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ExportControlReviewRequestList) Items

Items returns the items of the list.

func (*ExportControlReviewRequestList) Len

Len returns the length of the list.

func (*ExportControlReviewRequestList) Range

func (l *ExportControlReviewRequestList) Range(f func(index int, item *ExportControlReviewRequest) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ExportControlReviewRequestList) SetHREF

func (l *ExportControlReviewRequestList) SetHREF(href string)

Items sets the items of the list.

func (*ExportControlReviewRequestList) SetItems

Items sets the items of the list.

func (l *ExportControlReviewRequestList) SetLink(link bool)

Items sets the items of the list.

func (*ExportControlReviewRequestList) Slice

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type ExportControlReviewRequestListBuilder

type ExportControlReviewRequestListBuilder struct {
	// contains filtered or unexported fields
}

ExportControlReviewRequestListBuilder contains the data and logic needed to build 'export_control_review_request' objects.

func NewExportControlReviewRequestList

func NewExportControlReviewRequestList() *ExportControlReviewRequestListBuilder

NewExportControlReviewRequestList creates a new builder of 'export_control_review_request' objects.

func (*ExportControlReviewRequestListBuilder) Build

Build creates a list of 'export_control_review_request' objects using the configuration stored in the builder.

func (*ExportControlReviewRequestListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ExportControlReviewRequestListBuilder) Empty

Empty returns true if the list is empty.

func (*ExportControlReviewRequestListBuilder) Items

Items sets the items of the list.

type ExportControlReviewResponse

type ExportControlReviewResponse struct {
	// contains filtered or unexported fields
}

ExportControlReviewResponse represents the values of the 'export_control_review_response' type.

func ReadExportControlReviewResponse

func ReadExportControlReviewResponse(iterator *jsoniter.Iterator) *ExportControlReviewResponse

ReadExportControlReviewResponse reads a value of the 'export_control_review_response' type from the given iterator.

func ReadExportControlReviewResponseList

func ReadExportControlReviewResponseList(iterator *jsoniter.Iterator) []*ExportControlReviewResponse

ReadExportControlReviewResponseList reads list of values of the ”export_control_review_response' type from the given iterator.

func UnmarshalExportControlReviewResponse

func UnmarshalExportControlReviewResponse(source interface{}) (object *ExportControlReviewResponse, err error)

UnmarshalExportControlReviewResponse reads a value of the 'export_control_review_response' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalExportControlReviewResponseList

func UnmarshalExportControlReviewResponseList(source interface{}) (items []*ExportControlReviewResponse, err error)

UnmarshalExportControlReviewResponseList reads a list of values of the 'export_control_review_response' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ExportControlReviewResponse) Empty

func (o *ExportControlReviewResponse) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ExportControlReviewResponse) GetRestricted

func (o *ExportControlReviewResponse) GetRestricted() (value bool, ok bool)

GetRestricted returns the value of the 'restricted' attribute and a flag indicating if the attribute has a value.

func (*ExportControlReviewResponse) Restricted

func (o *ExportControlReviewResponse) Restricted() bool

Restricted returns the value of the 'restricted' attribute, or the zero value of the type if the attribute doesn't have a value.

type ExportControlReviewResponseBuilder

type ExportControlReviewResponseBuilder struct {
	// contains filtered or unexported fields
}

func NewExportControlReviewResponse

func NewExportControlReviewResponse() *ExportControlReviewResponseBuilder

NewExportControlReviewResponse creates a new builder of 'export_control_review_response' objects.

func (*ExportControlReviewResponseBuilder) Build

Build creates a 'export_control_review_response' object using the configuration stored in the builder.

func (*ExportControlReviewResponseBuilder) Copy

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ExportControlReviewResponseBuilder) Empty

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ExportControlReviewResponseBuilder) Restricted

Restricted sets the value of the 'restricted' attribute to the given value.

type ExportControlReviewResponseList

type ExportControlReviewResponseList struct {
	// contains filtered or unexported fields
}

ExportControlReviewResponseList is a list of values of the 'export_control_review_response' type.

func (*ExportControlReviewResponseList) Each

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ExportControlReviewResponseList) Empty

Empty returns true if the list is empty.

func (*ExportControlReviewResponseList) Get

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ExportControlReviewResponseList) Items

Items returns the items of the list.

func (*ExportControlReviewResponseList) Len

Len returns the length of the list.

func (*ExportControlReviewResponseList) Range

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ExportControlReviewResponseList) SetHREF

func (l *ExportControlReviewResponseList) SetHREF(href string)

Items sets the items of the list.

func (*ExportControlReviewResponseList) SetItems

Items sets the items of the list.

func (l *ExportControlReviewResponseList) SetLink(link bool)

Items sets the items of the list.

func (*ExportControlReviewResponseList) Slice

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type ExportControlReviewResponseListBuilder

type ExportControlReviewResponseListBuilder struct {
	// contains filtered or unexported fields
}

ExportControlReviewResponseListBuilder contains the data and logic needed to build 'export_control_review_response' objects.

func NewExportControlReviewResponseList

func NewExportControlReviewResponseList() *ExportControlReviewResponseListBuilder

NewExportControlReviewResponseList creates a new builder of 'export_control_review_response' objects.

func (*ExportControlReviewResponseListBuilder) Build

Build creates a list of 'export_control_review_response' objects using the configuration stored in the builder.

func (*ExportControlReviewResponseListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ExportControlReviewResponseListBuilder) Empty

Empty returns true if the list is empty.

func (*ExportControlReviewResponseListBuilder) Items

Items sets the items of the list.

type FeatureReviewRequest

type FeatureReviewRequest struct {
	// contains filtered or unexported fields
}

FeatureReviewRequest represents the values of the 'feature_review_request' type.

Representation of a feature review

func ReadFeatureReviewRequest

func ReadFeatureReviewRequest(iterator *jsoniter.Iterator) *FeatureReviewRequest

ReadFeatureReviewRequest reads a value of the 'feature_review_request' type from the given iterator.

func ReadFeatureReviewRequestList

func ReadFeatureReviewRequestList(iterator *jsoniter.Iterator) []*FeatureReviewRequest

ReadFeatureReviewRequestList reads list of values of the ”feature_review_request' type from the given iterator.

func UnmarshalFeatureReviewRequest

func UnmarshalFeatureReviewRequest(source interface{}) (object *FeatureReviewRequest, err error)

UnmarshalFeatureReviewRequest reads a value of the 'feature_review_request' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalFeatureReviewRequestList

func UnmarshalFeatureReviewRequestList(source interface{}) (items []*FeatureReviewRequest, err error)

UnmarshalFeatureReviewRequestList reads a list of values of the 'feature_review_request' type from the given source, which can be a slice of bytes, a string or a reader.

func (*FeatureReviewRequest) AccountUsername

func (o *FeatureReviewRequest) AccountUsername() string

AccountUsername returns the value of the 'account_username' attribute, or the zero value of the type if the attribute doesn't have a value.

Defines the username of the account of which access is being reviewed

func (*FeatureReviewRequest) ClusterId

func (o *FeatureReviewRequest) ClusterId() string

ClusterId returns the value of the 'cluster_id' attribute, or the zero value of the type if the attribute doesn't have a value.

Defines the cluster id which access is being reviewed

func (*FeatureReviewRequest) Empty

func (o *FeatureReviewRequest) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*FeatureReviewRequest) Feature

func (o *FeatureReviewRequest) Feature() string

Feature returns the value of the 'feature' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates the feature which can be toggled

func (*FeatureReviewRequest) GetAccountUsername

func (o *FeatureReviewRequest) GetAccountUsername() (value string, ok bool)

GetAccountUsername returns the value of the 'account_username' attribute and a flag indicating if the attribute has a value.

Defines the username of the account of which access is being reviewed

func (*FeatureReviewRequest) GetClusterId

func (o *FeatureReviewRequest) GetClusterId() (value string, ok bool)

GetClusterId returns the value of the 'cluster_id' attribute and a flag indicating if the attribute has a value.

Defines the cluster id which access is being reviewed

func (*FeatureReviewRequest) GetFeature

func (o *FeatureReviewRequest) GetFeature() (value string, ok bool)

GetFeature returns the value of the 'feature' attribute and a flag indicating if the attribute has a value.

Indicates the feature which can be toggled

func (*FeatureReviewRequest) GetOrganizationId

func (o *FeatureReviewRequest) GetOrganizationId() (value string, ok bool)

GetOrganizationId returns the value of the 'organization_id' attribute and a flag indicating if the attribute has a value.

Defines the organisation id of the account of which access is being reviewed

func (*FeatureReviewRequest) OrganizationId

func (o *FeatureReviewRequest) OrganizationId() string

OrganizationId returns the value of the 'organization_id' attribute, or the zero value of the type if the attribute doesn't have a value.

Defines the organisation id of the account of which access is being reviewed

type FeatureReviewRequestBuilder

type FeatureReviewRequestBuilder struct {
	// contains filtered or unexported fields
}

Representation of a feature review

func NewFeatureReviewRequest

func NewFeatureReviewRequest() *FeatureReviewRequestBuilder

NewFeatureReviewRequest creates a new builder of 'feature_review_request' objects.

func (*FeatureReviewRequestBuilder) AccountUsername

AccountUsername sets the value of the 'account_username' attribute to the given value.

func (*FeatureReviewRequestBuilder) Build

func (b *FeatureReviewRequestBuilder) Build() (object *FeatureReviewRequest, err error)

Build creates a 'feature_review_request' object using the configuration stored in the builder.

func (*FeatureReviewRequestBuilder) ClusterId

ClusterId sets the value of the 'cluster_id' attribute to the given value.

func (*FeatureReviewRequestBuilder) Copy

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*FeatureReviewRequestBuilder) Empty

func (b *FeatureReviewRequestBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*FeatureReviewRequestBuilder) Feature

Feature sets the value of the 'feature' attribute to the given value.

func (*FeatureReviewRequestBuilder) OrganizationId

OrganizationId sets the value of the 'organization_id' attribute to the given value.

type FeatureReviewRequestList

type FeatureReviewRequestList struct {
	// contains filtered or unexported fields
}

FeatureReviewRequestList is a list of values of the 'feature_review_request' type.

func (*FeatureReviewRequestList) Each

func (l *FeatureReviewRequestList) Each(f func(item *FeatureReviewRequest) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*FeatureReviewRequestList) Empty

func (l *FeatureReviewRequestList) Empty() bool

Empty returns true if the list is empty.

func (*FeatureReviewRequestList) Get

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*FeatureReviewRequestList) Items

Items returns the items of the list.

func (*FeatureReviewRequestList) Len

func (l *FeatureReviewRequestList) Len() int

Len returns the length of the list.

func (*FeatureReviewRequestList) Range

func (l *FeatureReviewRequestList) Range(f func(index int, item *FeatureReviewRequest) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*FeatureReviewRequestList) SetHREF

func (l *FeatureReviewRequestList) SetHREF(href string)

Items sets the items of the list.

func (*FeatureReviewRequestList) SetItems

func (l *FeatureReviewRequestList) SetItems(items []*FeatureReviewRequest)

Items sets the items of the list.

func (l *FeatureReviewRequestList) SetLink(link bool)

Items sets the items of the list.

func (*FeatureReviewRequestList) Slice

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type FeatureReviewRequestListBuilder

type FeatureReviewRequestListBuilder struct {
	// contains filtered or unexported fields
}

FeatureReviewRequestListBuilder contains the data and logic needed to build 'feature_review_request' objects.

func NewFeatureReviewRequestList

func NewFeatureReviewRequestList() *FeatureReviewRequestListBuilder

NewFeatureReviewRequestList creates a new builder of 'feature_review_request' objects.

func (*FeatureReviewRequestListBuilder) Build

Build creates a list of 'feature_review_request' objects using the configuration stored in the builder.

func (*FeatureReviewRequestListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*FeatureReviewRequestListBuilder) Empty

Empty returns true if the list is empty.

func (*FeatureReviewRequestListBuilder) Items

Items sets the items of the list.

type FeatureReviewResponse

type FeatureReviewResponse struct {
	// contains filtered or unexported fields
}

FeatureReviewResponse represents the values of the 'feature_review_response' type.

Representation of a feature review response

func ReadFeatureReviewResponse

func ReadFeatureReviewResponse(iterator *jsoniter.Iterator) *FeatureReviewResponse

ReadFeatureReviewResponse reads a value of the 'feature_review_response' type from the given iterator.

func ReadFeatureReviewResponseList

func ReadFeatureReviewResponseList(iterator *jsoniter.Iterator) []*FeatureReviewResponse

ReadFeatureReviewResponseList reads list of values of the ”feature_review_response' type from the given iterator.

func UnmarshalFeatureReviewResponse

func UnmarshalFeatureReviewResponse(source interface{}) (object *FeatureReviewResponse, err error)

UnmarshalFeatureReviewResponse reads a value of the 'feature_review_response' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalFeatureReviewResponseList

func UnmarshalFeatureReviewResponseList(source interface{}) (items []*FeatureReviewResponse, err error)

UnmarshalFeatureReviewResponseList reads a list of values of the 'feature_review_response' type from the given source, which can be a slice of bytes, a string or a reader.

func (*FeatureReviewResponse) Empty

func (o *FeatureReviewResponse) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*FeatureReviewResponse) Enabled

func (o *FeatureReviewResponse) Enabled() bool

Enabled returns the value of the 'enabled' attribute, or the zero value of the type if the attribute doesn't have a value.

Defines whether the feature can be toggled

func (*FeatureReviewResponse) FeatureID

func (o *FeatureReviewResponse) FeatureID() string

FeatureID returns the value of the 'feature_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Defines the feature id which can be toggled

func (*FeatureReviewResponse) GetEnabled

func (o *FeatureReviewResponse) GetEnabled() (value bool, ok bool)

GetEnabled returns the value of the 'enabled' attribute and a flag indicating if the attribute has a value.

Defines whether the feature can be toggled

func (*FeatureReviewResponse) GetFeatureID

func (o *FeatureReviewResponse) GetFeatureID() (value string, ok bool)

GetFeatureID returns the value of the 'feature_ID' attribute and a flag indicating if the attribute has a value.

Defines the feature id which can be toggled

type FeatureReviewResponseBuilder

type FeatureReviewResponseBuilder struct {
	// contains filtered or unexported fields
}

Representation of a feature review response

func NewFeatureReviewResponse

func NewFeatureReviewResponse() *FeatureReviewResponseBuilder

NewFeatureReviewResponse creates a new builder of 'feature_review_response' objects.

func (*FeatureReviewResponseBuilder) Build

func (b *FeatureReviewResponseBuilder) Build() (object *FeatureReviewResponse, err error)

Build creates a 'feature_review_response' object using the configuration stored in the builder.

func (*FeatureReviewResponseBuilder) Copy

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*FeatureReviewResponseBuilder) Empty

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*FeatureReviewResponseBuilder) Enabled

Enabled sets the value of the 'enabled' attribute to the given value.

func (*FeatureReviewResponseBuilder) FeatureID

FeatureID sets the value of the 'feature_ID' attribute to the given value.

type FeatureReviewResponseList

type FeatureReviewResponseList struct {
	// contains filtered or unexported fields
}

FeatureReviewResponseList is a list of values of the 'feature_review_response' type.

func (*FeatureReviewResponseList) Each

func (l *FeatureReviewResponseList) Each(f func(item *FeatureReviewResponse) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*FeatureReviewResponseList) Empty

func (l *FeatureReviewResponseList) Empty() bool

Empty returns true if the list is empty.

func (*FeatureReviewResponseList) Get

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*FeatureReviewResponseList) Items

Items returns the items of the list.

func (*FeatureReviewResponseList) Len

func (l *FeatureReviewResponseList) Len() int

Len returns the length of the list.

func (*FeatureReviewResponseList) Range

func (l *FeatureReviewResponseList) Range(f func(index int, item *FeatureReviewResponse) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*FeatureReviewResponseList) SetHREF

func (l *FeatureReviewResponseList) SetHREF(href string)

Items sets the items of the list.

func (*FeatureReviewResponseList) SetItems

func (l *FeatureReviewResponseList) SetItems(items []*FeatureReviewResponse)

Items sets the items of the list.

func (l *FeatureReviewResponseList) SetLink(link bool)

Items sets the items of the list.

func (*FeatureReviewResponseList) Slice

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type FeatureReviewResponseListBuilder

type FeatureReviewResponseListBuilder struct {
	// contains filtered or unexported fields
}

FeatureReviewResponseListBuilder contains the data and logic needed to build 'feature_review_response' objects.

func NewFeatureReviewResponseList

func NewFeatureReviewResponseList() *FeatureReviewResponseListBuilder

NewFeatureReviewResponseList creates a new builder of 'feature_review_response' objects.

func (*FeatureReviewResponseListBuilder) Build

Build creates a list of 'feature_review_response' objects using the configuration stored in the builder.

func (*FeatureReviewResponseListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*FeatureReviewResponseListBuilder) Empty

Empty returns true if the list is empty.

func (*FeatureReviewResponseListBuilder) Items

Items sets the items of the list.

type Metadata

type Metadata struct {
	// contains filtered or unexported fields
}

Metadata contains the version metadata.

func UnmarshalMetadata

func UnmarshalMetadata(source interface{}) (object *Metadata, err error)

UnmarshalMetadata reads a value of the metadata type from the given source, which which can be a reader, a slice of byte or a string.

func (*Metadata) GetServerVersion

func (m *Metadata) GetServerVersion() (value string, ok bool)

GetServerVersion returns the value of the server version and a flag indicating if the attribute has a value.

func (*Metadata) ServerVersion

func (m *Metadata) ServerVersion() string

ServerVersion returns the version of the server.

type ResourceReview

type ResourceReview struct {
	// contains filtered or unexported fields
}

ResourceReview represents the values of the 'resource_review' type.

Contains the result of performing a resource access review.

func ReadResourceReview

func ReadResourceReview(iterator *jsoniter.Iterator) *ResourceReview

ReadResourceReview reads a value of the 'resource_review' type from the given iterator.

func ReadResourceReviewList

func ReadResourceReviewList(iterator *jsoniter.Iterator) []*ResourceReview

ReadResourceReviewList reads list of values of the ”resource_review' type from the given iterator.

func UnmarshalResourceReview

func UnmarshalResourceReview(source interface{}) (object *ResourceReview, err error)

UnmarshalResourceReview reads a value of the 'resource_review' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalResourceReviewList

func UnmarshalResourceReviewList(source interface{}) (items []*ResourceReview, err error)

UnmarshalResourceReviewList reads a list of values of the 'resource_review' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ResourceReview) AccountUsername

func (o *ResourceReview) AccountUsername() string

AccountUsername returns the value of the 'account_username' attribute, or the zero value of the type if the attribute doesn't have a value.

Name of the account that is trying to perform the access.

func (*ResourceReview) Action

func (o *ResourceReview) Action() string

Action returns the value of the 'action' attribute, or the zero value of the type if the attribute doesn't have a value.

Action that will the user is trying to perform.

func (*ResourceReview) ClusterIDs

func (o *ResourceReview) ClusterIDs() []string

ClusterIDs returns the value of the 'cluster_IDs' attribute, or the zero value of the type if the attribute doesn't have a value.

Identifiers of the Clusters (internal ids) that the user has permission to perform the action upon.

func (*ResourceReview) ClusterUUIDs

func (o *ResourceReview) ClusterUUIDs() []string

ClusterUUIDs returns the value of the 'cluster_UUIDs' attribute, or the zero value of the type if the attribute doesn't have a value.

Identifiers which Clusters (external ids) that the user has permission to perform the action upon.

func (*ResourceReview) Empty

func (o *ResourceReview) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ResourceReview) GetAccountUsername

func (o *ResourceReview) GetAccountUsername() (value string, ok bool)

GetAccountUsername returns the value of the 'account_username' attribute and a flag indicating if the attribute has a value.

Name of the account that is trying to perform the access.

func (*ResourceReview) GetAction

func (o *ResourceReview) GetAction() (value string, ok bool)

GetAction returns the value of the 'action' attribute and a flag indicating if the attribute has a value.

Action that will the user is trying to perform.

func (*ResourceReview) GetClusterIDs

func (o *ResourceReview) GetClusterIDs() (value []string, ok bool)

GetClusterIDs returns the value of the 'cluster_IDs' attribute and a flag indicating if the attribute has a value.

Identifiers of the Clusters (internal ids) that the user has permission to perform the action upon.

func (*ResourceReview) GetClusterUUIDs

func (o *ResourceReview) GetClusterUUIDs() (value []string, ok bool)

GetClusterUUIDs returns the value of the 'cluster_UUIDs' attribute and a flag indicating if the attribute has a value.

Identifiers which Clusters (external ids) that the user has permission to perform the action upon.

func (*ResourceReview) GetOrganizationIDs

func (o *ResourceReview) GetOrganizationIDs() (value []string, ok bool)

GetOrganizationIDs returns the value of the 'organization_IDs' attribute and a flag indicating if the attribute has a value.

Identifiers of the organizations that the user has permissions to perform the action upon.

func (*ResourceReview) GetResourceType

func (o *ResourceReview) GetResourceType() (value string, ok bool)

GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.

Type of resource.

func (*ResourceReview) GetSubscriptionIDs

func (o *ResourceReview) GetSubscriptionIDs() (value []string, ok bool)

GetSubscriptionIDs returns the value of the 'subscription_IDs' attribute and a flag indicating if the attribute has a value.

Identifiers of the subscriptions that the user has permission to perform the action upon.

func (*ResourceReview) OrganizationIDs

func (o *ResourceReview) OrganizationIDs() []string

OrganizationIDs returns the value of the 'organization_IDs' attribute, or the zero value of the type if the attribute doesn't have a value.

Identifiers of the organizations that the user has permissions to perform the action upon.

func (*ResourceReview) ResourceType

func (o *ResourceReview) ResourceType() string

ResourceType returns the value of the 'resource_type' attribute, or the zero value of the type if the attribute doesn't have a value.

Type of resource.

func (*ResourceReview) SubscriptionIDs

func (o *ResourceReview) SubscriptionIDs() []string

SubscriptionIDs returns the value of the 'subscription_IDs' attribute, or the zero value of the type if the attribute doesn't have a value.

Identifiers of the subscriptions that the user has permission to perform the action upon.

type ResourceReviewBuilder

type ResourceReviewBuilder struct {
	// contains filtered or unexported fields
}

Contains the result of performing a resource access review.

func NewResourceReview

func NewResourceReview() *ResourceReviewBuilder

NewResourceReview creates a new builder of 'resource_review' objects.

func (*ResourceReviewBuilder) AccountUsername

func (b *ResourceReviewBuilder) AccountUsername(value string) *ResourceReviewBuilder

AccountUsername sets the value of the 'account_username' attribute to the given value.

func (*ResourceReviewBuilder) Action

Action sets the value of the 'action' attribute to the given value.

func (*ResourceReviewBuilder) Build

func (b *ResourceReviewBuilder) Build() (object *ResourceReview, err error)

Build creates a 'resource_review' object using the configuration stored in the builder.

func (*ResourceReviewBuilder) ClusterIDs

func (b *ResourceReviewBuilder) ClusterIDs(values ...string) *ResourceReviewBuilder

ClusterIDs sets the value of the 'cluster_IDs' attribute to the given values.

func (*ResourceReviewBuilder) ClusterUUIDs

func (b *ResourceReviewBuilder) ClusterUUIDs(values ...string) *ResourceReviewBuilder

ClusterUUIDs sets the value of the 'cluster_UUIDs' attribute to the given values.

func (*ResourceReviewBuilder) Copy

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ResourceReviewBuilder) Empty

func (b *ResourceReviewBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ResourceReviewBuilder) OrganizationIDs

func (b *ResourceReviewBuilder) OrganizationIDs(values ...string) *ResourceReviewBuilder

OrganizationIDs sets the value of the 'organization_IDs' attribute to the given values.

func (*ResourceReviewBuilder) ResourceType

func (b *ResourceReviewBuilder) ResourceType(value string) *ResourceReviewBuilder

ResourceType sets the value of the 'resource_type' attribute to the given value.

func (*ResourceReviewBuilder) SubscriptionIDs

func (b *ResourceReviewBuilder) SubscriptionIDs(values ...string) *ResourceReviewBuilder

SubscriptionIDs sets the value of the 'subscription_IDs' attribute to the given values.

type ResourceReviewList

type ResourceReviewList struct {
	// contains filtered or unexported fields
}

ResourceReviewList is a list of values of the 'resource_review' type.

func (*ResourceReviewList) Each

func (l *ResourceReviewList) Each(f func(item *ResourceReview) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ResourceReviewList) Empty

func (l *ResourceReviewList) Empty() bool

Empty returns true if the list is empty.

func (*ResourceReviewList) Get

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ResourceReviewList) Items

func (l *ResourceReviewList) Items() []*ResourceReview

Items returns the items of the list.

func (*ResourceReviewList) Len

func (l *ResourceReviewList) Len() int

Len returns the length of the list.

func (*ResourceReviewList) Range

func (l *ResourceReviewList) Range(f func(index int, item *ResourceReview) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ResourceReviewList) SetHREF

func (l *ResourceReviewList) SetHREF(href string)

Items sets the items of the list.

func (*ResourceReviewList) SetItems

func (l *ResourceReviewList) SetItems(items []*ResourceReview)

Items sets the items of the list.

func (l *ResourceReviewList) SetLink(link bool)

Items sets the items of the list.

func (*ResourceReviewList) Slice

func (l *ResourceReviewList) Slice() []*ResourceReview

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type ResourceReviewListBuilder

type ResourceReviewListBuilder struct {
	// contains filtered or unexported fields
}

ResourceReviewListBuilder contains the data and logic needed to build 'resource_review' objects.

func NewResourceReviewList

func NewResourceReviewList() *ResourceReviewListBuilder

NewResourceReviewList creates a new builder of 'resource_review' objects.

func (*ResourceReviewListBuilder) Build

func (b *ResourceReviewListBuilder) Build() (list *ResourceReviewList, err error)

Build creates a list of 'resource_review' objects using the configuration stored in the builder.

func (*ResourceReviewListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ResourceReviewListBuilder) Empty

func (b *ResourceReviewListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ResourceReviewListBuilder) Items

Items sets the items of the list.

type ResourceReviewRequest

type ResourceReviewRequest struct {
	// contains filtered or unexported fields
}

ResourceReviewRequest represents the values of the 'resource_review_request' type.

Request to perform a resource access review.

func ReadResourceReviewRequest

func ReadResourceReviewRequest(iterator *jsoniter.Iterator) *ResourceReviewRequest

ReadResourceReviewRequest reads a value of the 'resource_review_request' type from the given iterator.

func ReadResourceReviewRequestList

func ReadResourceReviewRequestList(iterator *jsoniter.Iterator) []*ResourceReviewRequest

ReadResourceReviewRequestList reads list of values of the ”resource_review_request' type from the given iterator.

func UnmarshalResourceReviewRequest

func UnmarshalResourceReviewRequest(source interface{}) (object *ResourceReviewRequest, err error)

UnmarshalResourceReviewRequest reads a value of the 'resource_review_request' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalResourceReviewRequestList

func UnmarshalResourceReviewRequestList(source interface{}) (items []*ResourceReviewRequest, err error)

UnmarshalResourceReviewRequestList reads a list of values of the 'resource_review_request' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ResourceReviewRequest) AccountUsername

func (o *ResourceReviewRequest) AccountUsername() string

AccountUsername returns the value of the 'account_username' attribute, or the zero value of the type if the attribute doesn't have a value.

Name of the account that is trying to access the resource.

func (*ResourceReviewRequest) Action

func (o *ResourceReviewRequest) Action() string

Action returns the value of the 'action' attribute, or the zero value of the type if the attribute doesn't have a value.

Action that will be performed on the resource.

func (*ResourceReviewRequest) Empty

func (o *ResourceReviewRequest) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ResourceReviewRequest) ExcludeSubscriptionStatuses

func (o *ResourceReviewRequest) ExcludeSubscriptionStatuses() []SubscriptionStatus

ExcludeSubscriptionStatuses returns the value of the 'exclude_subscription_statuses' attribute, or the zero value of the type if the attribute doesn't have a value.

Subscriptions with these statuses will be excluded from results.

func (*ResourceReviewRequest) GetAccountUsername

func (o *ResourceReviewRequest) GetAccountUsername() (value string, ok bool)

GetAccountUsername returns the value of the 'account_username' attribute and a flag indicating if the attribute has a value.

Name of the account that is trying to access the resource.

func (*ResourceReviewRequest) GetAction

func (o *ResourceReviewRequest) GetAction() (value string, ok bool)

GetAction returns the value of the 'action' attribute and a flag indicating if the attribute has a value.

Action that will be performed on the resource.

func (*ResourceReviewRequest) GetExcludeSubscriptionStatuses

func (o *ResourceReviewRequest) GetExcludeSubscriptionStatuses() (value []SubscriptionStatus, ok bool)

GetExcludeSubscriptionStatuses returns the value of the 'exclude_subscription_statuses' attribute and a flag indicating if the attribute has a value.

Subscriptions with these statuses will be excluded from results.

func (*ResourceReviewRequest) GetReduceClusterList

func (o *ResourceReviewRequest) GetReduceClusterList() (value bool, ok bool)

GetReduceClusterList returns the value of the 'reduce_cluster_list' attribute and a flag indicating if the attribute has a value.

If true, in the case when all subscriptions in organization are permitted, response will *not* include these subscriptions' ID, but organization only.

func (*ResourceReviewRequest) GetResourceType

func (o *ResourceReviewRequest) GetResourceType() (value string, ok bool)

GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.

Type of resource.

func (*ResourceReviewRequest) ReduceClusterList

func (o *ResourceReviewRequest) ReduceClusterList() bool

ReduceClusterList returns the value of the 'reduce_cluster_list' attribute, or the zero value of the type if the attribute doesn't have a value.

If true, in the case when all subscriptions in organization are permitted, response will *not* include these subscriptions' ID, but organization only.

func (*ResourceReviewRequest) ResourceType

func (o *ResourceReviewRequest) ResourceType() string

ResourceType returns the value of the 'resource_type' attribute, or the zero value of the type if the attribute doesn't have a value.

Type of resource.

type ResourceReviewRequestBuilder

type ResourceReviewRequestBuilder struct {
	// contains filtered or unexported fields
}

Request to perform a resource access review.

func NewResourceReviewRequest

func NewResourceReviewRequest() *ResourceReviewRequestBuilder

NewResourceReviewRequest creates a new builder of 'resource_review_request' objects.

func (*ResourceReviewRequestBuilder) AccountUsername

AccountUsername sets the value of the 'account_username' attribute to the given value.

func (*ResourceReviewRequestBuilder) Action

Action sets the value of the 'action' attribute to the given value.

func (*ResourceReviewRequestBuilder) Build

func (b *ResourceReviewRequestBuilder) Build() (object *ResourceReviewRequest, err error)

Build creates a 'resource_review_request' object using the configuration stored in the builder.

func (*ResourceReviewRequestBuilder) Copy

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ResourceReviewRequestBuilder) Empty

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ResourceReviewRequestBuilder) ExcludeSubscriptionStatuses

func (b *ResourceReviewRequestBuilder) ExcludeSubscriptionStatuses(values ...SubscriptionStatus) *ResourceReviewRequestBuilder

ExcludeSubscriptionStatuses sets the value of the 'exclude_subscription_statuses' attribute to the given values.

func (*ResourceReviewRequestBuilder) ReduceClusterList

func (b *ResourceReviewRequestBuilder) ReduceClusterList(value bool) *ResourceReviewRequestBuilder

ReduceClusterList sets the value of the 'reduce_cluster_list' attribute to the given value.

func (*ResourceReviewRequestBuilder) ResourceType

ResourceType sets the value of the 'resource_type' attribute to the given value.

type ResourceReviewRequestList

type ResourceReviewRequestList struct {
	// contains filtered or unexported fields
}

ResourceReviewRequestList is a list of values of the 'resource_review_request' type.

func (*ResourceReviewRequestList) Each

func (l *ResourceReviewRequestList) Each(f func(item *ResourceReviewRequest) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ResourceReviewRequestList) Empty

func (l *ResourceReviewRequestList) Empty() bool

Empty returns true if the list is empty.

func (*ResourceReviewRequestList) Get

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ResourceReviewRequestList) Items

Items returns the items of the list.

func (*ResourceReviewRequestList) Len

func (l *ResourceReviewRequestList) Len() int

Len returns the length of the list.

func (*ResourceReviewRequestList) Range

func (l *ResourceReviewRequestList) Range(f func(index int, item *ResourceReviewRequest) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ResourceReviewRequestList) SetHREF

func (l *ResourceReviewRequestList) SetHREF(href string)

Items sets the items of the list.

func (*ResourceReviewRequestList) SetItems

func (l *ResourceReviewRequestList) SetItems(items []*ResourceReviewRequest)

Items sets the items of the list.

func (l *ResourceReviewRequestList) SetLink(link bool)

Items sets the items of the list.

func (*ResourceReviewRequestList) Slice

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type ResourceReviewRequestListBuilder

type ResourceReviewRequestListBuilder struct {
	// contains filtered or unexported fields
}

ResourceReviewRequestListBuilder contains the data and logic needed to build 'resource_review_request' objects.

func NewResourceReviewRequestList

func NewResourceReviewRequestList() *ResourceReviewRequestListBuilder

NewResourceReviewRequestList creates a new builder of 'resource_review_request' objects.

func (*ResourceReviewRequestListBuilder) Build

Build creates a list of 'resource_review_request' objects using the configuration stored in the builder.

func (*ResourceReviewRequestListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ResourceReviewRequestListBuilder) Empty

Empty returns true if the list is empty.

func (*ResourceReviewRequestListBuilder) Items

Items sets the items of the list.

type SelfAccessReviewRequest

type SelfAccessReviewRequest struct {
	// contains filtered or unexported fields
}

SelfAccessReviewRequest represents the values of the 'self_access_review_request' type.

Representation of an access review performed against oneself

func ReadSelfAccessReviewRequest

func ReadSelfAccessReviewRequest(iterator *jsoniter.Iterator) *SelfAccessReviewRequest

ReadSelfAccessReviewRequest reads a value of the 'self_access_review_request' type from the given iterator.

func ReadSelfAccessReviewRequestList

func ReadSelfAccessReviewRequestList(iterator *jsoniter.Iterator) []*SelfAccessReviewRequest

ReadSelfAccessReviewRequestList reads list of values of the ”self_access_review_request' type from the given iterator.

func UnmarshalSelfAccessReviewRequest

func UnmarshalSelfAccessReviewRequest(source interface{}) (object *SelfAccessReviewRequest, err error)

UnmarshalSelfAccessReviewRequest reads a value of the 'self_access_review_request' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalSelfAccessReviewRequestList

func UnmarshalSelfAccessReviewRequestList(source interface{}) (items []*SelfAccessReviewRequest, err error)

UnmarshalSelfAccessReviewRequestList reads a list of values of the 'self_access_review_request' type from the given source, which can be a slice of bytes, a string or a reader.

func (*SelfAccessReviewRequest) Action

func (o *SelfAccessReviewRequest) Action() string

Action returns the value of the 'action' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates the action, one of: [get,list,create,delete,update]

func (*SelfAccessReviewRequest) ClusterID

func (o *SelfAccessReviewRequest) ClusterID() string

ClusterID returns the value of the 'cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates which Cluster (internal id) the resource type belongs to

func (*SelfAccessReviewRequest) ClusterUUID

func (o *SelfAccessReviewRequest) ClusterUUID() string

ClusterUUID returns the value of the 'cluster_UUID' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates which Cluster (external id) the resource type belongs to

func (*SelfAccessReviewRequest) Empty

func (o *SelfAccessReviewRequest) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*SelfAccessReviewRequest) GetAction

func (o *SelfAccessReviewRequest) GetAction() (value string, ok bool)

GetAction returns the value of the 'action' attribute and a flag indicating if the attribute has a value.

Indicates the action, one of: [get,list,create,delete,update]

func (*SelfAccessReviewRequest) GetClusterID

func (o *SelfAccessReviewRequest) GetClusterID() (value string, ok bool)

GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.

Indicates which Cluster (internal id) the resource type belongs to

func (*SelfAccessReviewRequest) GetClusterUUID

func (o *SelfAccessReviewRequest) GetClusterUUID() (value string, ok bool)

GetClusterUUID returns the value of the 'cluster_UUID' attribute and a flag indicating if the attribute has a value.

Indicates which Cluster (external id) the resource type belongs to

func (*SelfAccessReviewRequest) GetOrganizationID

func (o *SelfAccessReviewRequest) GetOrganizationID() (value string, ok bool)

GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.

Indicates which Organization the resource type belongs to

func (*SelfAccessReviewRequest) GetResourceType

func (o *SelfAccessReviewRequest) GetResourceType() (value string, ok bool)

GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.

Indicates the type of the resource an action would be taken on. See uhc-account-manager/openapi/openapi.yaml for a list of possible values

func (*SelfAccessReviewRequest) GetSubscriptionID

func (o *SelfAccessReviewRequest) GetSubscriptionID() (value string, ok bool)

GetSubscriptionID returns the value of the 'subscription_ID' attribute and a flag indicating if the attribute has a value.

Indicates which Subscription the resource type belongs to

func (*SelfAccessReviewRequest) OrganizationID

func (o *SelfAccessReviewRequest) OrganizationID() string

OrganizationID returns the value of the 'organization_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates which Organization the resource type belongs to

func (*SelfAccessReviewRequest) ResourceType

func (o *SelfAccessReviewRequest) ResourceType() string

ResourceType returns the value of the 'resource_type' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates the type of the resource an action would be taken on. See uhc-account-manager/openapi/openapi.yaml for a list of possible values

func (*SelfAccessReviewRequest) SubscriptionID

func (o *SelfAccessReviewRequest) SubscriptionID() string

SubscriptionID returns the value of the 'subscription_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates which Subscription the resource type belongs to

type SelfAccessReviewRequestBuilder

type SelfAccessReviewRequestBuilder struct {
	// contains filtered or unexported fields
}

Representation of an access review performed against oneself

func NewSelfAccessReviewRequest

func NewSelfAccessReviewRequest() *SelfAccessReviewRequestBuilder

NewSelfAccessReviewRequest creates a new builder of 'self_access_review_request' objects.

func (*SelfAccessReviewRequestBuilder) Action

Action sets the value of the 'action' attribute to the given value.

func (*SelfAccessReviewRequestBuilder) Build

Build creates a 'self_access_review_request' object using the configuration stored in the builder.

func (*SelfAccessReviewRequestBuilder) ClusterID

ClusterID sets the value of the 'cluster_ID' attribute to the given value.

func (*SelfAccessReviewRequestBuilder) ClusterUUID

ClusterUUID sets the value of the 'cluster_UUID' attribute to the given value.

func (*SelfAccessReviewRequestBuilder) Copy

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*SelfAccessReviewRequestBuilder) Empty

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*SelfAccessReviewRequestBuilder) OrganizationID

OrganizationID sets the value of the 'organization_ID' attribute to the given value.

func (*SelfAccessReviewRequestBuilder) ResourceType

ResourceType sets the value of the 'resource_type' attribute to the given value.

func (*SelfAccessReviewRequestBuilder) SubscriptionID

SubscriptionID sets the value of the 'subscription_ID' attribute to the given value.

type SelfAccessReviewRequestList

type SelfAccessReviewRequestList struct {
	// contains filtered or unexported fields
}

SelfAccessReviewRequestList is a list of values of the 'self_access_review_request' type.

func (*SelfAccessReviewRequestList) Each

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*SelfAccessReviewRequestList) Empty

func (l *SelfAccessReviewRequestList) Empty() bool

Empty returns true if the list is empty.

func (*SelfAccessReviewRequestList) Get

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*SelfAccessReviewRequestList) Items

Items returns the items of the list.

func (*SelfAccessReviewRequestList) Len

Len returns the length of the list.

func (*SelfAccessReviewRequestList) Range

func (l *SelfAccessReviewRequestList) Range(f func(index int, item *SelfAccessReviewRequest) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*SelfAccessReviewRequestList) SetHREF

func (l *SelfAccessReviewRequestList) SetHREF(href string)

Items sets the items of the list.

func (*SelfAccessReviewRequestList) SetItems

Items sets the items of the list.

func (l *SelfAccessReviewRequestList) SetLink(link bool)

Items sets the items of the list.

func (*SelfAccessReviewRequestList) Slice

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type SelfAccessReviewRequestListBuilder

type SelfAccessReviewRequestListBuilder struct {
	// contains filtered or unexported fields
}

SelfAccessReviewRequestListBuilder contains the data and logic needed to build 'self_access_review_request' objects.

func NewSelfAccessReviewRequestList

func NewSelfAccessReviewRequestList() *SelfAccessReviewRequestListBuilder

NewSelfAccessReviewRequestList creates a new builder of 'self_access_review_request' objects.

func (*SelfAccessReviewRequestListBuilder) Build

Build creates a list of 'self_access_review_request' objects using the configuration stored in the builder.

func (*SelfAccessReviewRequestListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*SelfAccessReviewRequestListBuilder) Empty

Empty returns true if the list is empty.

func (*SelfAccessReviewRequestListBuilder) Items

Items sets the items of the list.

type SelfAccessReviewResponse

type SelfAccessReviewResponse struct {
	// contains filtered or unexported fields
}

SelfAccessReviewResponse represents the values of the 'self_access_review_response' type.

Representation of an access review response, performed against oneself

func ReadSelfAccessReviewResponse

func ReadSelfAccessReviewResponse(iterator *jsoniter.Iterator) *SelfAccessReviewResponse

ReadSelfAccessReviewResponse reads a value of the 'self_access_review_response' type from the given iterator.

func ReadSelfAccessReviewResponseList

func ReadSelfAccessReviewResponseList(iterator *jsoniter.Iterator) []*SelfAccessReviewResponse

ReadSelfAccessReviewResponseList reads list of values of the ”self_access_review_response' type from the given iterator.

func UnmarshalSelfAccessReviewResponse

func UnmarshalSelfAccessReviewResponse(source interface{}) (object *SelfAccessReviewResponse, err error)

UnmarshalSelfAccessReviewResponse reads a value of the 'self_access_review_response' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalSelfAccessReviewResponseList

func UnmarshalSelfAccessReviewResponseList(source interface{}) (items []*SelfAccessReviewResponse, err error)

UnmarshalSelfAccessReviewResponseList reads a list of values of the 'self_access_review_response' type from the given source, which can be a slice of bytes, a string or a reader.

func (*SelfAccessReviewResponse) Action

func (o *SelfAccessReviewResponse) Action() string

Action returns the value of the 'action' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates the action, one of: [get,list,create,delete,update].

func (*SelfAccessReviewResponse) Allowed

func (o *SelfAccessReviewResponse) Allowed() bool

Allowed returns the value of the 'allowed' attribute, or the zero value of the type if the attribute doesn't have a value.

Defines whether the action on the specified resource type is allowed.

func (*SelfAccessReviewResponse) ClusterID

func (o *SelfAccessReviewResponse) ClusterID() string

ClusterID returns the value of the 'cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates which Cluster (internal id) the resource type belongs to.

func (*SelfAccessReviewResponse) ClusterUUID

func (o *SelfAccessReviewResponse) ClusterUUID() string

ClusterUUID returns the value of the 'cluster_UUID' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates which Cluster (external id) the resource type belongs to.

func (*SelfAccessReviewResponse) Empty

func (o *SelfAccessReviewResponse) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*SelfAccessReviewResponse) GetAction

func (o *SelfAccessReviewResponse) GetAction() (value string, ok bool)

GetAction returns the value of the 'action' attribute and a flag indicating if the attribute has a value.

Indicates the action, one of: [get,list,create,delete,update].

func (*SelfAccessReviewResponse) GetAllowed

func (o *SelfAccessReviewResponse) GetAllowed() (value bool, ok bool)

GetAllowed returns the value of the 'allowed' attribute and a flag indicating if the attribute has a value.

Defines whether the action on the specified resource type is allowed.

func (*SelfAccessReviewResponse) GetClusterID

func (o *SelfAccessReviewResponse) GetClusterID() (value string, ok bool)

GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.

Indicates which Cluster (internal id) the resource type belongs to.

func (*SelfAccessReviewResponse) GetClusterUUID

func (o *SelfAccessReviewResponse) GetClusterUUID() (value string, ok bool)

GetClusterUUID returns the value of the 'cluster_UUID' attribute and a flag indicating if the attribute has a value.

Indicates which Cluster (external id) the resource type belongs to.

func (*SelfAccessReviewResponse) GetIsOCMInternal

func (o *SelfAccessReviewResponse) GetIsOCMInternal() (value bool, ok bool)

GetIsOCMInternal returns the value of the 'is_OCM_internal' attribute and a flag indicating if the attribute has a value.

Defines whether an account is ocm internal.

func (*SelfAccessReviewResponse) GetOrganizationID

func (o *SelfAccessReviewResponse) GetOrganizationID() (value string, ok bool)

GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.

Indicates which Organization the resource type belongs to.

func (*SelfAccessReviewResponse) GetReason

func (o *SelfAccessReviewResponse) GetReason() (value string, ok bool)

GetReason returns the value of the 'reason' attribute and a flag indicating if the attribute has a value.

Defines further context for the value in allowed (if applicable).

func (*SelfAccessReviewResponse) GetResourceType

func (o *SelfAccessReviewResponse) GetResourceType() (value string, ok bool)

GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.

Indicates the type of the resource an action would be taken on. See uhc-account-manager/openapi/openapi.yaml for a list of possible values.

func (*SelfAccessReviewResponse) GetSubscriptionID

func (o *SelfAccessReviewResponse) GetSubscriptionID() (value string, ok bool)

GetSubscriptionID returns the value of the 'subscription_ID' attribute and a flag indicating if the attribute has a value.

Indicates which Subscription the resource type belongs to.

func (*SelfAccessReviewResponse) IsOCMInternal

func (o *SelfAccessReviewResponse) IsOCMInternal() bool

IsOCMInternal returns the value of the 'is_OCM_internal' attribute, or the zero value of the type if the attribute doesn't have a value.

Defines whether an account is ocm internal.

func (*SelfAccessReviewResponse) OrganizationID

func (o *SelfAccessReviewResponse) OrganizationID() string

OrganizationID returns the value of the 'organization_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates which Organization the resource type belongs to.

func (*SelfAccessReviewResponse) Reason

func (o *SelfAccessReviewResponse) Reason() string

Reason returns the value of the 'reason' attribute, or the zero value of the type if the attribute doesn't have a value.

Defines further context for the value in allowed (if applicable).

func (*SelfAccessReviewResponse) ResourceType

func (o *SelfAccessReviewResponse) ResourceType() string

ResourceType returns the value of the 'resource_type' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates the type of the resource an action would be taken on. See uhc-account-manager/openapi/openapi.yaml for a list of possible values.

func (*SelfAccessReviewResponse) SubscriptionID

func (o *SelfAccessReviewResponse) SubscriptionID() string

SubscriptionID returns the value of the 'subscription_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates which Subscription the resource type belongs to.

type SelfAccessReviewResponseBuilder

type SelfAccessReviewResponseBuilder struct {
	// contains filtered or unexported fields
}

Representation of an access review response, performed against oneself

func NewSelfAccessReviewResponse

func NewSelfAccessReviewResponse() *SelfAccessReviewResponseBuilder

NewSelfAccessReviewResponse creates a new builder of 'self_access_review_response' objects.

func (*SelfAccessReviewResponseBuilder) Action

Action sets the value of the 'action' attribute to the given value.

func (*SelfAccessReviewResponseBuilder) Allowed

Allowed sets the value of the 'allowed' attribute to the given value.

func (*SelfAccessReviewResponseBuilder) Build

Build creates a 'self_access_review_response' object using the configuration stored in the builder.

func (*SelfAccessReviewResponseBuilder) ClusterID

ClusterID sets the value of the 'cluster_ID' attribute to the given value.

func (*SelfAccessReviewResponseBuilder) ClusterUUID

ClusterUUID sets the value of the 'cluster_UUID' attribute to the given value.

func (*SelfAccessReviewResponseBuilder) Copy

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*SelfAccessReviewResponseBuilder) Empty

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*SelfAccessReviewResponseBuilder) IsOCMInternal

IsOCMInternal sets the value of the 'is_OCM_internal' attribute to the given value.

func (*SelfAccessReviewResponseBuilder) OrganizationID

OrganizationID sets the value of the 'organization_ID' attribute to the given value.

func (*SelfAccessReviewResponseBuilder) Reason

Reason sets the value of the 'reason' attribute to the given value.

func (*SelfAccessReviewResponseBuilder) ResourceType

ResourceType sets the value of the 'resource_type' attribute to the given value.

func (*SelfAccessReviewResponseBuilder) SubscriptionID

SubscriptionID sets the value of the 'subscription_ID' attribute to the given value.

type SelfAccessReviewResponseList

type SelfAccessReviewResponseList struct {
	// contains filtered or unexported fields
}

SelfAccessReviewResponseList is a list of values of the 'self_access_review_response' type.

func (*SelfAccessReviewResponseList) Each

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*SelfAccessReviewResponseList) Empty

Empty returns true if the list is empty.

func (*SelfAccessReviewResponseList) Get

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*SelfAccessReviewResponseList) Items

Items returns the items of the list.

func (*SelfAccessReviewResponseList) Len

Len returns the length of the list.

func (*SelfAccessReviewResponseList) Range

func (l *SelfAccessReviewResponseList) Range(f func(index int, item *SelfAccessReviewResponse) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*SelfAccessReviewResponseList) SetHREF

func (l *SelfAccessReviewResponseList) SetHREF(href string)

Items sets the items of the list.

func (*SelfAccessReviewResponseList) SetItems

Items sets the items of the list.

func (l *SelfAccessReviewResponseList) SetLink(link bool)

Items sets the items of the list.

func (*SelfAccessReviewResponseList) Slice

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type SelfAccessReviewResponseListBuilder

type SelfAccessReviewResponseListBuilder struct {
	// contains filtered or unexported fields
}

SelfAccessReviewResponseListBuilder contains the data and logic needed to build 'self_access_review_response' objects.

func NewSelfAccessReviewResponseList

func NewSelfAccessReviewResponseList() *SelfAccessReviewResponseListBuilder

NewSelfAccessReviewResponseList creates a new builder of 'self_access_review_response' objects.

func (*SelfAccessReviewResponseListBuilder) Build

Build creates a list of 'self_access_review_response' objects using the configuration stored in the builder.

func (*SelfAccessReviewResponseListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*SelfAccessReviewResponseListBuilder) Empty

Empty returns true if the list is empty.

func (*SelfAccessReviewResponseListBuilder) Items

Items sets the items of the list.

type SelfCapabilityReviewRequest

type SelfCapabilityReviewRequest struct {
	// contains filtered or unexported fields
}

SelfCapabilityReviewRequest represents the values of the 'self_capability_review_request' type.

Representation of a capability review.

func ReadSelfCapabilityReviewRequest

func ReadSelfCapabilityReviewRequest(iterator *jsoniter.Iterator) *SelfCapabilityReviewRequest

ReadSelfCapabilityReviewRequest reads a value of the 'self_capability_review_request' type from the given iterator.

func ReadSelfCapabilityReviewRequestList

func ReadSelfCapabilityReviewRequestList(iterator *jsoniter.Iterator) []*SelfCapabilityReviewRequest

ReadSelfCapabilityReviewRequestList reads list of values of the ”self_capability_review_request' type from the given iterator.

func UnmarshalSelfCapabilityReviewRequest

func UnmarshalSelfCapabilityReviewRequest(source interface{}) (object *SelfCapabilityReviewRequest, err error)

UnmarshalSelfCapabilityReviewRequest reads a value of the 'self_capability_review_request' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalSelfCapabilityReviewRequestList

func UnmarshalSelfCapabilityReviewRequestList(source interface{}) (items []*SelfCapabilityReviewRequest, err error)

UnmarshalSelfCapabilityReviewRequestList reads a list of values of the 'self_capability_review_request' type from the given source, which can be a slice of bytes, a string or a reader.

func (*SelfCapabilityReviewRequest) AccountUsername

func (o *SelfCapabilityReviewRequest) AccountUsername() string

AccountUsername returns the value of the 'account_username' attribute, or the zero value of the type if the attribute doesn't have a value.

Defines the username of the account of which capability is being reviewed.

func (*SelfCapabilityReviewRequest) Capability

func (o *SelfCapabilityReviewRequest) Capability() string

Capability returns the value of the 'capability' attribute, or the zero value of the type if the attribute doesn't have a value.

Capability to review [manage_cluster_admin].

func (*SelfCapabilityReviewRequest) ClusterID

func (o *SelfCapabilityReviewRequest) ClusterID() string

ClusterID returns the value of the 'cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates which Cluster (internal id) the resource type belongs to.

func (*SelfCapabilityReviewRequest) Empty

func (o *SelfCapabilityReviewRequest) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*SelfCapabilityReviewRequest) GetAccountUsername

func (o *SelfCapabilityReviewRequest) GetAccountUsername() (value string, ok bool)

GetAccountUsername returns the value of the 'account_username' attribute and a flag indicating if the attribute has a value.

Defines the username of the account of which capability is being reviewed.

func (*SelfCapabilityReviewRequest) GetCapability

func (o *SelfCapabilityReviewRequest) GetCapability() (value string, ok bool)

GetCapability returns the value of the 'capability' attribute and a flag indicating if the attribute has a value.

Capability to review [manage_cluster_admin].

func (*SelfCapabilityReviewRequest) GetClusterID

func (o *SelfCapabilityReviewRequest) GetClusterID() (value string, ok bool)

GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.

Indicates which Cluster (internal id) the resource type belongs to.

func (*SelfCapabilityReviewRequest) GetOrganizationID

func (o *SelfCapabilityReviewRequest) GetOrganizationID() (value string, ok bool)

GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.

Indicates which Organization the resource type belongs to.

func (*SelfCapabilityReviewRequest) GetResourceType

func (o *SelfCapabilityReviewRequest) GetResourceType() (value string, ok bool)

GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.

Indicates the type of the resource. See uhc-account-manager/openapi/openapi.yaml for a list of possible values.

func (*SelfCapabilityReviewRequest) GetSubscriptionID

func (o *SelfCapabilityReviewRequest) GetSubscriptionID() (value string, ok bool)

GetSubscriptionID returns the value of the 'subscription_ID' attribute and a flag indicating if the attribute has a value.

Indicates which Subscription the resource type belongs to.

func (*SelfCapabilityReviewRequest) GetType

func (o *SelfCapabilityReviewRequest) GetType() (value string, ok bool)

GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.

Type of capability [Cluster].

func (*SelfCapabilityReviewRequest) OrganizationID

func (o *SelfCapabilityReviewRequest) OrganizationID() string

OrganizationID returns the value of the 'organization_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates which Organization the resource type belongs to.

func (*SelfCapabilityReviewRequest) ResourceType

func (o *SelfCapabilityReviewRequest) ResourceType() string

ResourceType returns the value of the 'resource_type' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates the type of the resource. See uhc-account-manager/openapi/openapi.yaml for a list of possible values.

func (*SelfCapabilityReviewRequest) SubscriptionID

func (o *SelfCapabilityReviewRequest) SubscriptionID() string

SubscriptionID returns the value of the 'subscription_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates which Subscription the resource type belongs to.

func (*SelfCapabilityReviewRequest) Type

Type returns the value of the 'type' attribute, or the zero value of the type if the attribute doesn't have a value.

Type of capability [Cluster].

type SelfCapabilityReviewRequestBuilder

type SelfCapabilityReviewRequestBuilder struct {
	// contains filtered or unexported fields
}

Representation of a capability review.

func NewSelfCapabilityReviewRequest

func NewSelfCapabilityReviewRequest() *SelfCapabilityReviewRequestBuilder

NewSelfCapabilityReviewRequest creates a new builder of 'self_capability_review_request' objects.

func (*SelfCapabilityReviewRequestBuilder) AccountUsername

AccountUsername sets the value of the 'account_username' attribute to the given value.

func (*SelfCapabilityReviewRequestBuilder) Build

Build creates a 'self_capability_review_request' object using the configuration stored in the builder.

func (*SelfCapabilityReviewRequestBuilder) Capability

Capability sets the value of the 'capability' attribute to the given value.

func (*SelfCapabilityReviewRequestBuilder) ClusterID

ClusterID sets the value of the 'cluster_ID' attribute to the given value.

func (*SelfCapabilityReviewRequestBuilder) Copy

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*SelfCapabilityReviewRequestBuilder) Empty

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*SelfCapabilityReviewRequestBuilder) OrganizationID

OrganizationID sets the value of the 'organization_ID' attribute to the given value.

func (*SelfCapabilityReviewRequestBuilder) ResourceType

ResourceType sets the value of the 'resource_type' attribute to the given value.

func (*SelfCapabilityReviewRequestBuilder) SubscriptionID

SubscriptionID sets the value of the 'subscription_ID' attribute to the given value.

func (*SelfCapabilityReviewRequestBuilder) Type

Type sets the value of the 'type' attribute to the given value.

type SelfCapabilityReviewRequestList

type SelfCapabilityReviewRequestList struct {
	// contains filtered or unexported fields
}

SelfCapabilityReviewRequestList is a list of values of the 'self_capability_review_request' type.

func (*SelfCapabilityReviewRequestList) Each

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*SelfCapabilityReviewRequestList) Empty

Empty returns true if the list is empty.

func (*SelfCapabilityReviewRequestList) Get

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*SelfCapabilityReviewRequestList) Items

Items returns the items of the list.

func (*SelfCapabilityReviewRequestList) Len

Len returns the length of the list.

func (*SelfCapabilityReviewRequestList) Range

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*SelfCapabilityReviewRequestList) SetHREF

func (l *SelfCapabilityReviewRequestList) SetHREF(href string)

Items sets the items of the list.

func (*SelfCapabilityReviewRequestList) SetItems

Items sets the items of the list.

func (l *SelfCapabilityReviewRequestList) SetLink(link bool)

Items sets the items of the list.

func (*SelfCapabilityReviewRequestList) Slice

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type SelfCapabilityReviewRequestListBuilder

type SelfCapabilityReviewRequestListBuilder struct {
	// contains filtered or unexported fields
}

SelfCapabilityReviewRequestListBuilder contains the data and logic needed to build 'self_capability_review_request' objects.

func NewSelfCapabilityReviewRequestList

func NewSelfCapabilityReviewRequestList() *SelfCapabilityReviewRequestListBuilder

NewSelfCapabilityReviewRequestList creates a new builder of 'self_capability_review_request' objects.

func (*SelfCapabilityReviewRequestListBuilder) Build

Build creates a list of 'self_capability_review_request' objects using the configuration stored in the builder.

func (*SelfCapabilityReviewRequestListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*SelfCapabilityReviewRequestListBuilder) Empty

Empty returns true if the list is empty.

func (*SelfCapabilityReviewRequestListBuilder) Items

Items sets the items of the list.

type SelfCapabilityReviewResponse

type SelfCapabilityReviewResponse struct {
	// contains filtered or unexported fields
}

SelfCapabilityReviewResponse represents the values of the 'self_capability_review_response' type.

Representation of a capability review response.

func ReadSelfCapabilityReviewResponse

func ReadSelfCapabilityReviewResponse(iterator *jsoniter.Iterator) *SelfCapabilityReviewResponse

ReadSelfCapabilityReviewResponse reads a value of the 'self_capability_review_response' type from the given iterator.

func ReadSelfCapabilityReviewResponseList

func ReadSelfCapabilityReviewResponseList(iterator *jsoniter.Iterator) []*SelfCapabilityReviewResponse

ReadSelfCapabilityReviewResponseList reads list of values of the ”self_capability_review_response' type from the given iterator.

func UnmarshalSelfCapabilityReviewResponse

func UnmarshalSelfCapabilityReviewResponse(source interface{}) (object *SelfCapabilityReviewResponse, err error)

UnmarshalSelfCapabilityReviewResponse reads a value of the 'self_capability_review_response' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalSelfCapabilityReviewResponseList

func UnmarshalSelfCapabilityReviewResponseList(source interface{}) (items []*SelfCapabilityReviewResponse, err error)

UnmarshalSelfCapabilityReviewResponseList reads a list of values of the 'self_capability_review_response' type from the given source, which can be a slice of bytes, a string or a reader.

func (*SelfCapabilityReviewResponse) Empty

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*SelfCapabilityReviewResponse) GetResult

func (o *SelfCapabilityReviewResponse) GetResult() (value string, ok bool)

GetResult returns the value of the 'result' attribute and a flag indicating if the attribute has a value.

func (*SelfCapabilityReviewResponse) Result

Result returns the value of the 'result' attribute, or the zero value of the type if the attribute doesn't have a value.

type SelfCapabilityReviewResponseBuilder

type SelfCapabilityReviewResponseBuilder struct {
	// contains filtered or unexported fields
}

Representation of a capability review response.

func NewSelfCapabilityReviewResponse

func NewSelfCapabilityReviewResponse() *SelfCapabilityReviewResponseBuilder

NewSelfCapabilityReviewResponse creates a new builder of 'self_capability_review_response' objects.

func (*SelfCapabilityReviewResponseBuilder) Build

Build creates a 'self_capability_review_response' object using the configuration stored in the builder.

func (*SelfCapabilityReviewResponseBuilder) Copy

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*SelfCapabilityReviewResponseBuilder) Empty

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*SelfCapabilityReviewResponseBuilder) Result

Result sets the value of the 'result' attribute to the given value.

type SelfCapabilityReviewResponseList

type SelfCapabilityReviewResponseList struct {
	// contains filtered or unexported fields
}

SelfCapabilityReviewResponseList is a list of values of the 'self_capability_review_response' type.

func (*SelfCapabilityReviewResponseList) Each

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*SelfCapabilityReviewResponseList) Empty

Empty returns true if the list is empty.

func (*SelfCapabilityReviewResponseList) Get

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*SelfCapabilityReviewResponseList) Items

Items returns the items of the list.

func (*SelfCapabilityReviewResponseList) Len

Len returns the length of the list.

func (*SelfCapabilityReviewResponseList) Range

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*SelfCapabilityReviewResponseList) SetHREF

func (l *SelfCapabilityReviewResponseList) SetHREF(href string)

Items sets the items of the list.

func (*SelfCapabilityReviewResponseList) SetItems

Items sets the items of the list.

func (l *SelfCapabilityReviewResponseList) SetLink(link bool)

Items sets the items of the list.

func (*SelfCapabilityReviewResponseList) Slice

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type SelfCapabilityReviewResponseListBuilder

type SelfCapabilityReviewResponseListBuilder struct {
	// contains filtered or unexported fields
}

SelfCapabilityReviewResponseListBuilder contains the data and logic needed to build 'self_capability_review_response' objects.

func NewSelfCapabilityReviewResponseList

func NewSelfCapabilityReviewResponseList() *SelfCapabilityReviewResponseListBuilder

NewSelfCapabilityReviewResponseList creates a new builder of 'self_capability_review_response' objects.

func (*SelfCapabilityReviewResponseListBuilder) Build

Build creates a list of 'self_capability_review_response' objects using the configuration stored in the builder.

func (*SelfCapabilityReviewResponseListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*SelfCapabilityReviewResponseListBuilder) Empty

Empty returns true if the list is empty.

func (*SelfCapabilityReviewResponseListBuilder) Items

Items sets the items of the list.

type SelfFeatureReviewRequest

type SelfFeatureReviewRequest struct {
	// contains filtered or unexported fields
}

SelfFeatureReviewRequest represents the values of the 'self_feature_review_request' type.

Representation of a feature review performed against oneself

func ReadSelfFeatureReviewRequest

func ReadSelfFeatureReviewRequest(iterator *jsoniter.Iterator) *SelfFeatureReviewRequest

ReadSelfFeatureReviewRequest reads a value of the 'self_feature_review_request' type from the given iterator.

func ReadSelfFeatureReviewRequestList

func ReadSelfFeatureReviewRequestList(iterator *jsoniter.Iterator) []*SelfFeatureReviewRequest

ReadSelfFeatureReviewRequestList reads list of values of the ”self_feature_review_request' type from the given iterator.

func UnmarshalSelfFeatureReviewRequest

func UnmarshalSelfFeatureReviewRequest(source interface{}) (object *SelfFeatureReviewRequest, err error)

UnmarshalSelfFeatureReviewRequest reads a value of the 'self_feature_review_request' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalSelfFeatureReviewRequestList

func UnmarshalSelfFeatureReviewRequestList(source interface{}) (items []*SelfFeatureReviewRequest, err error)

UnmarshalSelfFeatureReviewRequestList reads a list of values of the 'self_feature_review_request' type from the given source, which can be a slice of bytes, a string or a reader.

func (*SelfFeatureReviewRequest) Empty

func (o *SelfFeatureReviewRequest) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*SelfFeatureReviewRequest) Feature

func (o *SelfFeatureReviewRequest) Feature() string

Feature returns the value of the 'feature' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates the feature which can be toggled

func (*SelfFeatureReviewRequest) GetFeature

func (o *SelfFeatureReviewRequest) GetFeature() (value string, ok bool)

GetFeature returns the value of the 'feature' attribute and a flag indicating if the attribute has a value.

Indicates the feature which can be toggled

type SelfFeatureReviewRequestBuilder

type SelfFeatureReviewRequestBuilder struct {
	// contains filtered or unexported fields
}

Representation of a feature review performed against oneself

func NewSelfFeatureReviewRequest

func NewSelfFeatureReviewRequest() *SelfFeatureReviewRequestBuilder

NewSelfFeatureReviewRequest creates a new builder of 'self_feature_review_request' objects.

func (*SelfFeatureReviewRequestBuilder) Build

Build creates a 'self_feature_review_request' object using the configuration stored in the builder.

func (*SelfFeatureReviewRequestBuilder) Copy

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*SelfFeatureReviewRequestBuilder) Empty

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*SelfFeatureReviewRequestBuilder) Feature

Feature sets the value of the 'feature' attribute to the given value.

type SelfFeatureReviewRequestList

type SelfFeatureReviewRequestList struct {
	// contains filtered or unexported fields
}

SelfFeatureReviewRequestList is a list of values of the 'self_feature_review_request' type.

func (*SelfFeatureReviewRequestList) Each

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*SelfFeatureReviewRequestList) Empty

Empty returns true if the list is empty.

func (*SelfFeatureReviewRequestList) Get

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*SelfFeatureReviewRequestList) Items

Items returns the items of the list.

func (*SelfFeatureReviewRequestList) Len

Len returns the length of the list.

func (*SelfFeatureReviewRequestList) Range

func (l *SelfFeatureReviewRequestList) Range(f func(index int, item *SelfFeatureReviewRequest) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*SelfFeatureReviewRequestList) SetHREF

func (l *SelfFeatureReviewRequestList) SetHREF(href string)

Items sets the items of the list.

func (*SelfFeatureReviewRequestList) SetItems

Items sets the items of the list.

func (l *SelfFeatureReviewRequestList) SetLink(link bool)

Items sets the items of the list.

func (*SelfFeatureReviewRequestList) Slice

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type SelfFeatureReviewRequestListBuilder

type SelfFeatureReviewRequestListBuilder struct {
	// contains filtered or unexported fields
}

SelfFeatureReviewRequestListBuilder contains the data and logic needed to build 'self_feature_review_request' objects.

func NewSelfFeatureReviewRequestList

func NewSelfFeatureReviewRequestList() *SelfFeatureReviewRequestListBuilder

NewSelfFeatureReviewRequestList creates a new builder of 'self_feature_review_request' objects.

func (*SelfFeatureReviewRequestListBuilder) Build

Build creates a list of 'self_feature_review_request' objects using the configuration stored in the builder.

func (*SelfFeatureReviewRequestListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*SelfFeatureReviewRequestListBuilder) Empty

Empty returns true if the list is empty.

func (*SelfFeatureReviewRequestListBuilder) Items

Items sets the items of the list.

type SelfFeatureReviewResponse

type SelfFeatureReviewResponse struct {
	// contains filtered or unexported fields
}

SelfFeatureReviewResponse represents the values of the 'self_feature_review_response' type.

Representation of a feature review response, performed against oneself

func ReadSelfFeatureReviewResponse

func ReadSelfFeatureReviewResponse(iterator *jsoniter.Iterator) *SelfFeatureReviewResponse

ReadSelfFeatureReviewResponse reads a value of the 'self_feature_review_response' type from the given iterator.

func ReadSelfFeatureReviewResponseList

func ReadSelfFeatureReviewResponseList(iterator *jsoniter.Iterator) []*SelfFeatureReviewResponse

ReadSelfFeatureReviewResponseList reads list of values of the ”self_feature_review_response' type from the given iterator.

func UnmarshalSelfFeatureReviewResponse

func UnmarshalSelfFeatureReviewResponse(source interface{}) (object *SelfFeatureReviewResponse, err error)

UnmarshalSelfFeatureReviewResponse reads a value of the 'self_feature_review_response' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalSelfFeatureReviewResponseList

func UnmarshalSelfFeatureReviewResponseList(source interface{}) (items []*SelfFeatureReviewResponse, err error)

UnmarshalSelfFeatureReviewResponseList reads a list of values of the 'self_feature_review_response' type from the given source, which can be a slice of bytes, a string or a reader.

func (*SelfFeatureReviewResponse) Empty

func (o *SelfFeatureReviewResponse) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*SelfFeatureReviewResponse) Enabled

func (o *SelfFeatureReviewResponse) Enabled() bool

Enabled returns the value of the 'enabled' attribute, or the zero value of the type if the attribute doesn't have a value.

Defines whether the feature can be toggled

func (*SelfFeatureReviewResponse) FeatureID

func (o *SelfFeatureReviewResponse) FeatureID() string

FeatureID returns the value of the 'feature_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Defines the feature id which can be toggled

func (*SelfFeatureReviewResponse) GetEnabled

func (o *SelfFeatureReviewResponse) GetEnabled() (value bool, ok bool)

GetEnabled returns the value of the 'enabled' attribute and a flag indicating if the attribute has a value.

Defines whether the feature can be toggled

func (*SelfFeatureReviewResponse) GetFeatureID

func (o *SelfFeatureReviewResponse) GetFeatureID() (value string, ok bool)

GetFeatureID returns the value of the 'feature_ID' attribute and a flag indicating if the attribute has a value.

Defines the feature id which can be toggled

type SelfFeatureReviewResponseBuilder

type SelfFeatureReviewResponseBuilder struct {
	// contains filtered or unexported fields
}

Representation of a feature review response, performed against oneself

func NewSelfFeatureReviewResponse

func NewSelfFeatureReviewResponse() *SelfFeatureReviewResponseBuilder

NewSelfFeatureReviewResponse creates a new builder of 'self_feature_review_response' objects.

func (*SelfFeatureReviewResponseBuilder) Build

Build creates a 'self_feature_review_response' object using the configuration stored in the builder.

func (*SelfFeatureReviewResponseBuilder) Copy

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*SelfFeatureReviewResponseBuilder) Empty

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*SelfFeatureReviewResponseBuilder) Enabled

Enabled sets the value of the 'enabled' attribute to the given value.

func (*SelfFeatureReviewResponseBuilder) FeatureID

FeatureID sets the value of the 'feature_ID' attribute to the given value.

type SelfFeatureReviewResponseList

type SelfFeatureReviewResponseList struct {
	// contains filtered or unexported fields
}

SelfFeatureReviewResponseList is a list of values of the 'self_feature_review_response' type.

func (*SelfFeatureReviewResponseList) Each

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*SelfFeatureReviewResponseList) Empty

Empty returns true if the list is empty.

func (*SelfFeatureReviewResponseList) Get

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*SelfFeatureReviewResponseList) Items

Items returns the items of the list.

func (*SelfFeatureReviewResponseList) Len

Len returns the length of the list.

func (*SelfFeatureReviewResponseList) Range

func (l *SelfFeatureReviewResponseList) Range(f func(index int, item *SelfFeatureReviewResponse) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*SelfFeatureReviewResponseList) SetHREF

func (l *SelfFeatureReviewResponseList) SetHREF(href string)

Items sets the items of the list.

func (*SelfFeatureReviewResponseList) SetItems

Items sets the items of the list.

func (l *SelfFeatureReviewResponseList) SetLink(link bool)

Items sets the items of the list.

func (*SelfFeatureReviewResponseList) Slice

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type SelfFeatureReviewResponseListBuilder

type SelfFeatureReviewResponseListBuilder struct {
	// contains filtered or unexported fields
}

SelfFeatureReviewResponseListBuilder contains the data and logic needed to build 'self_feature_review_response' objects.

func NewSelfFeatureReviewResponseList

func NewSelfFeatureReviewResponseList() *SelfFeatureReviewResponseListBuilder

NewSelfFeatureReviewResponseList creates a new builder of 'self_feature_review_response' objects.

func (*SelfFeatureReviewResponseListBuilder) Build

Build creates a list of 'self_feature_review_response' objects using the configuration stored in the builder.

func (*SelfFeatureReviewResponseListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*SelfFeatureReviewResponseListBuilder) Empty

Empty returns true if the list is empty.

func (*SelfFeatureReviewResponseListBuilder) Items

Items sets the items of the list.

type SelfTermsReviewRequest

type SelfTermsReviewRequest struct {
	// contains filtered or unexported fields
}

SelfTermsReviewRequest represents the values of the 'self_terms_review_request' type.

Representation of Red Hat's Terms and Conditions for using OpenShift Dedicated and Amazon Red Hat OpenShift [Terms] review requests.

func ReadSelfTermsReviewRequest

func ReadSelfTermsReviewRequest(iterator *jsoniter.Iterator) *SelfTermsReviewRequest

ReadSelfTermsReviewRequest reads a value of the 'self_terms_review_request' type from the given iterator.

func ReadSelfTermsReviewRequestList

func ReadSelfTermsReviewRequestList(iterator *jsoniter.Iterator) []*SelfTermsReviewRequest

ReadSelfTermsReviewRequestList reads list of values of the ”self_terms_review_request' type from the given iterator.

func UnmarshalSelfTermsReviewRequest

func UnmarshalSelfTermsReviewRequest(source interface{}) (object *SelfTermsReviewRequest, err error)

UnmarshalSelfTermsReviewRequest reads a value of the 'self_terms_review_request' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalSelfTermsReviewRequestList

func UnmarshalSelfTermsReviewRequestList(source interface{}) (items []*SelfTermsReviewRequest, err error)

UnmarshalSelfTermsReviewRequestList reads a list of values of the 'self_terms_review_request' type from the given source, which can be a slice of bytes, a string or a reader.

func (*SelfTermsReviewRequest) Empty

func (o *SelfTermsReviewRequest) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*SelfTermsReviewRequest) EventCode

func (o *SelfTermsReviewRequest) EventCode() string

EventCode returns the value of the 'event_code' attribute, or the zero value of the type if the attribute doesn't have a value.

Defines the event code of the terms being checked

func (*SelfTermsReviewRequest) GetEventCode

func (o *SelfTermsReviewRequest) GetEventCode() (value string, ok bool)

GetEventCode returns the value of the 'event_code' attribute and a flag indicating if the attribute has a value.

Defines the event code of the terms being checked

func (*SelfTermsReviewRequest) GetSiteCode

func (o *SelfTermsReviewRequest) GetSiteCode() (value string, ok bool)

GetSiteCode returns the value of the 'site_code' attribute and a flag indicating if the attribute has a value.

Defines the site code of the terms being checked

func (*SelfTermsReviewRequest) SiteCode

func (o *SelfTermsReviewRequest) SiteCode() string

SiteCode returns the value of the 'site_code' attribute, or the zero value of the type if the attribute doesn't have a value.

Defines the site code of the terms being checked

type SelfTermsReviewRequestBuilder

type SelfTermsReviewRequestBuilder struct {
	// contains filtered or unexported fields
}

Representation of Red Hat's Terms and Conditions for using OpenShift Dedicated and Amazon Red Hat OpenShift [Terms] review requests.

func NewSelfTermsReviewRequest

func NewSelfTermsReviewRequest() *SelfTermsReviewRequestBuilder

NewSelfTermsReviewRequest creates a new builder of 'self_terms_review_request' objects.

func (*SelfTermsReviewRequestBuilder) Build

Build creates a 'self_terms_review_request' object using the configuration stored in the builder.

func (*SelfTermsReviewRequestBuilder) Copy

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*SelfTermsReviewRequestBuilder) Empty

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*SelfTermsReviewRequestBuilder) EventCode

EventCode sets the value of the 'event_code' attribute to the given value.

func (*SelfTermsReviewRequestBuilder) SiteCode

SiteCode sets the value of the 'site_code' attribute to the given value.

type SelfTermsReviewRequestList

type SelfTermsReviewRequestList struct {
	// contains filtered or unexported fields
}

SelfTermsReviewRequestList is a list of values of the 'self_terms_review_request' type.

func (*SelfTermsReviewRequestList) Each

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*SelfTermsReviewRequestList) Empty

func (l *SelfTermsReviewRequestList) Empty() bool

Empty returns true if the list is empty.

func (*SelfTermsReviewRequestList) Get

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*SelfTermsReviewRequestList) Items

Items returns the items of the list.

func (*SelfTermsReviewRequestList) Len

Len returns the length of the list.

func (*SelfTermsReviewRequestList) Range

func (l *SelfTermsReviewRequestList) Range(f func(index int, item *SelfTermsReviewRequest) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*SelfTermsReviewRequestList) SetHREF

func (l *SelfTermsReviewRequestList) SetHREF(href string)

Items sets the items of the list.

func (*SelfTermsReviewRequestList) SetItems

func (l *SelfTermsReviewRequestList) SetItems(items []*SelfTermsReviewRequest)

Items sets the items of the list.

func (l *SelfTermsReviewRequestList) SetLink(link bool)

Items sets the items of the list.

func (*SelfTermsReviewRequestList) Slice

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type SelfTermsReviewRequestListBuilder

type SelfTermsReviewRequestListBuilder struct {
	// contains filtered or unexported fields
}

SelfTermsReviewRequestListBuilder contains the data and logic needed to build 'self_terms_review_request' objects.

func NewSelfTermsReviewRequestList

func NewSelfTermsReviewRequestList() *SelfTermsReviewRequestListBuilder

NewSelfTermsReviewRequestList creates a new builder of 'self_terms_review_request' objects.

func (*SelfTermsReviewRequestListBuilder) Build

Build creates a list of 'self_terms_review_request' objects using the configuration stored in the builder.

func (*SelfTermsReviewRequestListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*SelfTermsReviewRequestListBuilder) Empty

Empty returns true if the list is empty.

func (*SelfTermsReviewRequestListBuilder) Items

Items sets the items of the list.

type SubscriptionStatus

type SubscriptionStatus string

SubscriptionStatus represents the values of the 'subscription_status' enumerated type.

const (
	// Active state subscriptions have their related resources currently running and reporting an active state
	// Whether a subscription is active is determined depending on the plan of the subscription
	// For example, OCP subscriptions are active if the OCP cluster is successfully reporting metrics
	//              RHOSR subscriptions are active if the service-registry service determines they are, the service updates the subscription as necessary
	SubscriptionStatusActive SubscriptionStatus = "active"
	// Subscriptions move to Archived when the resources are no longer visibile to OCM and suspected removed
	// Users can also move some disconnected subscriptions to archived state
	// If a subscription in Archived state's resources start reporting again, the subscription may move back to Active
	SubscriptionStatusArchived SubscriptionStatus = "archived"
	// Deprovisioned subscriptions can be considered completely deleted. As of this writing, only managed plan subscriptions are completely
	// deleted. Instead of actual DB row deletion, subscriptions are moved to Deprovisioned status and all associated resources (quota,
	// roles, etc) are _actually_ deleted. This allows us to keep track of what subscriptions existed and when.
	SubscriptionStatusDeprovisioned SubscriptionStatus = "deprovisioned"
	// Disconnected subscriptions are Active subscriptions that are intentionally not reporting an active state. There may be some
	// desire by the subscription owner not to connect the resources to OCM. This status allows the subscription to stay in OCM without
	// automatically moving to Stale or Archived.
	SubscriptionStatusDisconnected SubscriptionStatus = "disconnected"
	// Reserved subscriptions are created during the resource installation process. A reserved subscription represents a subscription
	// whose resources do not yet exist, but are expected to exist soon. Creating a reserved subscription allows services to reserve quota
	// for resources that are in the process of creation. Services are expected to update the status to Active or Deprovisioned once
	// the creation process completes, or fails.
	SubscriptionStatusReserved SubscriptionStatus = "reserved"
	// Stale subscriptions are active subscriptions who have stopped reporting an active state. Once reports cease, the subscription
	// is moved to stale to indicate to users that OCM can no longer see the Active resources. Subscriptions in stale state will automatically
	// transition back to active if the resources stat reporting again. They will also transition to Disconnected or Archived if the
	// resources never resume reporting.
	SubscriptionStatusStale SubscriptionStatus = "stale"
)

func ReadSubscriptionStatusList

func ReadSubscriptionStatusList(iterator *jsoniter.Iterator) []SubscriptionStatus

ReadSubscriptionStatusList reads list of values of the ”subscription_status' type from the given iterator.

func UnmarshalSubscriptionStatusList

func UnmarshalSubscriptionStatusList(source interface{}) (items []SubscriptionStatus, err error)

UnmarshalSubscriptionStatusList reads a list of values of the 'subscription_status' type from the given source, which can be a slice of bytes, a string or a reader.

type TermsReviewRequest

type TermsReviewRequest struct {
	// contains filtered or unexported fields
}

TermsReviewRequest represents the values of the 'terms_review_request' type.

Representation of Red Hat's Terms and Conditions for using OpenShift Dedicated and Amazon Red Hat OpenShift [Terms] review requests.

func ReadTermsReviewRequest

func ReadTermsReviewRequest(iterator *jsoniter.Iterator) *TermsReviewRequest

ReadTermsReviewRequest reads a value of the 'terms_review_request' type from the given iterator.

func ReadTermsReviewRequestList

func ReadTermsReviewRequestList(iterator *jsoniter.Iterator) []*TermsReviewRequest

ReadTermsReviewRequestList reads list of values of the ”terms_review_request' type from the given iterator.

func UnmarshalTermsReviewRequest

func UnmarshalTermsReviewRequest(source interface{}) (object *TermsReviewRequest, err error)

UnmarshalTermsReviewRequest reads a value of the 'terms_review_request' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalTermsReviewRequestList

func UnmarshalTermsReviewRequestList(source interface{}) (items []*TermsReviewRequest, err error)

UnmarshalTermsReviewRequestList reads a list of values of the 'terms_review_request' type from the given source, which can be a slice of bytes, a string or a reader.

func (*TermsReviewRequest) AccountUsername

func (o *TermsReviewRequest) AccountUsername() string

AccountUsername returns the value of the 'account_username' attribute, or the zero value of the type if the attribute doesn't have a value.

Defines the username of the account of which Terms is being reviewed.

func (*TermsReviewRequest) CheckOptionalTerms

func (o *TermsReviewRequest) CheckOptionalTerms() bool

CheckOptionalTerms returns the value of the 'check_optional_terms' attribute, or the zero value of the type if the attribute doesn't have a value.

If false, only `terms_required` will be checked

func (*TermsReviewRequest) Empty

func (o *TermsReviewRequest) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*TermsReviewRequest) EventCode

func (o *TermsReviewRequest) EventCode() string

EventCode returns the value of the 'event_code' attribute, or the zero value of the type if the attribute doesn't have a value.

Defines the event code of the terms being checked

func (*TermsReviewRequest) GetAccountUsername

func (o *TermsReviewRequest) GetAccountUsername() (value string, ok bool)

GetAccountUsername returns the value of the 'account_username' attribute and a flag indicating if the attribute has a value.

Defines the username of the account of which Terms is being reviewed.

func (*TermsReviewRequest) GetCheckOptionalTerms

func (o *TermsReviewRequest) GetCheckOptionalTerms() (value bool, ok bool)

GetCheckOptionalTerms returns the value of the 'check_optional_terms' attribute and a flag indicating if the attribute has a value.

If false, only `terms_required` will be checked

func (*TermsReviewRequest) GetEventCode

func (o *TermsReviewRequest) GetEventCode() (value string, ok bool)

GetEventCode returns the value of the 'event_code' attribute and a flag indicating if the attribute has a value.

Defines the event code of the terms being checked

func (*TermsReviewRequest) GetSiteCode

func (o *TermsReviewRequest) GetSiteCode() (value string, ok bool)

GetSiteCode returns the value of the 'site_code' attribute and a flag indicating if the attribute has a value.

Defines the site code of the terms being checked

func (*TermsReviewRequest) SiteCode

func (o *TermsReviewRequest) SiteCode() string

SiteCode returns the value of the 'site_code' attribute, or the zero value of the type if the attribute doesn't have a value.

Defines the site code of the terms being checked

type TermsReviewRequestBuilder

type TermsReviewRequestBuilder struct {
	// contains filtered or unexported fields
}

Representation of Red Hat's Terms and Conditions for using OpenShift Dedicated and Amazon Red Hat OpenShift [Terms] review requests.

func NewTermsReviewRequest

func NewTermsReviewRequest() *TermsReviewRequestBuilder

NewTermsReviewRequest creates a new builder of 'terms_review_request' objects.

func (*TermsReviewRequestBuilder) AccountUsername

func (b *TermsReviewRequestBuilder) AccountUsername(value string) *TermsReviewRequestBuilder

AccountUsername sets the value of the 'account_username' attribute to the given value.

func (*TermsReviewRequestBuilder) Build

func (b *TermsReviewRequestBuilder) Build() (object *TermsReviewRequest, err error)

Build creates a 'terms_review_request' object using the configuration stored in the builder.

func (*TermsReviewRequestBuilder) CheckOptionalTerms

func (b *TermsReviewRequestBuilder) CheckOptionalTerms(value bool) *TermsReviewRequestBuilder

CheckOptionalTerms sets the value of the 'check_optional_terms' attribute to the given value.

func (*TermsReviewRequestBuilder) Copy

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*TermsReviewRequestBuilder) Empty

func (b *TermsReviewRequestBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*TermsReviewRequestBuilder) EventCode

EventCode sets the value of the 'event_code' attribute to the given value.

func (*TermsReviewRequestBuilder) SiteCode

SiteCode sets the value of the 'site_code' attribute to the given value.

type TermsReviewRequestList

type TermsReviewRequestList struct {
	// contains filtered or unexported fields
}

TermsReviewRequestList is a list of values of the 'terms_review_request' type.

func (*TermsReviewRequestList) Each

func (l *TermsReviewRequestList) Each(f func(item *TermsReviewRequest) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*TermsReviewRequestList) Empty

func (l *TermsReviewRequestList) Empty() bool

Empty returns true if the list is empty.

func (*TermsReviewRequestList) Get

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*TermsReviewRequestList) Items

Items returns the items of the list.

func (*TermsReviewRequestList) Len

func (l *TermsReviewRequestList) Len() int

Len returns the length of the list.

func (*TermsReviewRequestList) Range

func (l *TermsReviewRequestList) Range(f func(index int, item *TermsReviewRequest) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*TermsReviewRequestList) SetHREF

func (l *TermsReviewRequestList) SetHREF(href string)

Items sets the items of the list.

func (*TermsReviewRequestList) SetItems

func (l *TermsReviewRequestList) SetItems(items []*TermsReviewRequest)

Items sets the items of the list.

func (l *TermsReviewRequestList) SetLink(link bool)

Items sets the items of the list.

func (*TermsReviewRequestList) Slice

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type TermsReviewRequestListBuilder

type TermsReviewRequestListBuilder struct {
	// contains filtered or unexported fields
}

TermsReviewRequestListBuilder contains the data and logic needed to build 'terms_review_request' objects.

func NewTermsReviewRequestList

func NewTermsReviewRequestList() *TermsReviewRequestListBuilder

NewTermsReviewRequestList creates a new builder of 'terms_review_request' objects.

func (*TermsReviewRequestListBuilder) Build

Build creates a list of 'terms_review_request' objects using the configuration stored in the builder.

func (*TermsReviewRequestListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*TermsReviewRequestListBuilder) Empty

Empty returns true if the list is empty.

func (*TermsReviewRequestListBuilder) Items

Items sets the items of the list.

type TermsReviewResponse

type TermsReviewResponse struct {
	// contains filtered or unexported fields
}

TermsReviewResponse represents the values of the 'terms_review_response' type.

Representation of Red Hat's Terms and Conditions for using OpenShift Dedicated and Amazon Red Hat OpenShift [Terms] review response.

func ReadTermsReviewResponse

func ReadTermsReviewResponse(iterator *jsoniter.Iterator) *TermsReviewResponse

ReadTermsReviewResponse reads a value of the 'terms_review_response' type from the given iterator.

func ReadTermsReviewResponseList

func ReadTermsReviewResponseList(iterator *jsoniter.Iterator) []*TermsReviewResponse

ReadTermsReviewResponseList reads list of values of the ”terms_review_response' type from the given iterator.

func UnmarshalTermsReviewResponse

func UnmarshalTermsReviewResponse(source interface{}) (object *TermsReviewResponse, err error)

UnmarshalTermsReviewResponse reads a value of the 'terms_review_response' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalTermsReviewResponseList

func UnmarshalTermsReviewResponseList(source interface{}) (items []*TermsReviewResponse, err error)

UnmarshalTermsReviewResponseList reads a list of values of the 'terms_review_response' type from the given source, which can be a slice of bytes, a string or a reader.

func (*TermsReviewResponse) AccountId

func (o *TermsReviewResponse) AccountId() string

AccountId returns the value of the 'account_id' attribute, or the zero value of the type if the attribute doesn't have a value.

Account ID of requesting user.

func (*TermsReviewResponse) Empty

func (o *TermsReviewResponse) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*TermsReviewResponse) GetAccountId

func (o *TermsReviewResponse) GetAccountId() (value string, ok bool)

GetAccountId returns the value of the 'account_id' attribute and a flag indicating if the attribute has a value.

Account ID of requesting user.

func (*TermsReviewResponse) GetOrganizationID

func (o *TermsReviewResponse) GetOrganizationID() (value string, ok bool)

GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.

Indicates which Organization the user belongs to.

func (*TermsReviewResponse) GetRedirectUrl

func (o *TermsReviewResponse) GetRedirectUrl() (value string, ok bool)

GetRedirectUrl returns the value of the 'redirect_url' attribute and a flag indicating if the attribute has a value.

Optional URL to Red Hat's Terms and Conditions Application if the user has either required or available Terms needs to acknowledge.

func (*TermsReviewResponse) GetTermsAvailable

func (o *TermsReviewResponse) GetTermsAvailable() (value bool, ok bool)

GetTermsAvailable returns the value of the 'terms_available' attribute and a flag indicating if the attribute has a value.

Defines whether Terms are available.

func (*TermsReviewResponse) GetTermsRequired

func (o *TermsReviewResponse) GetTermsRequired() (value bool, ok bool)

GetTermsRequired returns the value of the 'terms_required' attribute and a flag indicating if the attribute has a value.

Defines whether user is required to accept Terms before using OpenShift Dedicated and Amazon Red Hat OpenShift.

func (*TermsReviewResponse) OrganizationID

func (o *TermsReviewResponse) OrganizationID() string

OrganizationID returns the value of the 'organization_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates which Organization the user belongs to.

func (*TermsReviewResponse) RedirectUrl

func (o *TermsReviewResponse) RedirectUrl() string

RedirectUrl returns the value of the 'redirect_url' attribute, or the zero value of the type if the attribute doesn't have a value.

Optional URL to Red Hat's Terms and Conditions Application if the user has either required or available Terms needs to acknowledge.

func (*TermsReviewResponse) TermsAvailable

func (o *TermsReviewResponse) TermsAvailable() bool

TermsAvailable returns the value of the 'terms_available' attribute, or the zero value of the type if the attribute doesn't have a value.

Defines whether Terms are available.

func (*TermsReviewResponse) TermsRequired

func (o *TermsReviewResponse) TermsRequired() bool

TermsRequired returns the value of the 'terms_required' attribute, or the zero value of the type if the attribute doesn't have a value.

Defines whether user is required to accept Terms before using OpenShift Dedicated and Amazon Red Hat OpenShift.

type TermsReviewResponseBuilder

type TermsReviewResponseBuilder struct {
	// contains filtered or unexported fields
}

Representation of Red Hat's Terms and Conditions for using OpenShift Dedicated and Amazon Red Hat OpenShift [Terms] review response.

func NewTermsReviewResponse

func NewTermsReviewResponse() *TermsReviewResponseBuilder

NewTermsReviewResponse creates a new builder of 'terms_review_response' objects.

func (*TermsReviewResponseBuilder) AccountId

AccountId sets the value of the 'account_id' attribute to the given value.

func (*TermsReviewResponseBuilder) Build

func (b *TermsReviewResponseBuilder) Build() (object *TermsReviewResponse, err error)

Build creates a 'terms_review_response' object using the configuration stored in the builder.

func (*TermsReviewResponseBuilder) Copy

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*TermsReviewResponseBuilder) Empty

func (b *TermsReviewResponseBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*TermsReviewResponseBuilder) OrganizationID

OrganizationID sets the value of the 'organization_ID' attribute to the given value.

func (*TermsReviewResponseBuilder) RedirectUrl

RedirectUrl sets the value of the 'redirect_url' attribute to the given value.

func (*TermsReviewResponseBuilder) TermsAvailable

TermsAvailable sets the value of the 'terms_available' attribute to the given value.

func (*TermsReviewResponseBuilder) TermsRequired

TermsRequired sets the value of the 'terms_required' attribute to the given value.

type TermsReviewResponseList

type TermsReviewResponseList struct {
	// contains filtered or unexported fields
}

TermsReviewResponseList is a list of values of the 'terms_review_response' type.

func (*TermsReviewResponseList) Each

func (l *TermsReviewResponseList) Each(f func(item *TermsReviewResponse) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*TermsReviewResponseList) Empty

func (l *TermsReviewResponseList) Empty() bool

Empty returns true if the list is empty.

func (*TermsReviewResponseList) Get

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*TermsReviewResponseList) Items

Items returns the items of the list.

func (*TermsReviewResponseList) Len

func (l *TermsReviewResponseList) Len() int

Len returns the length of the list.

func (*TermsReviewResponseList) Range

func (l *TermsReviewResponseList) Range(f func(index int, item *TermsReviewResponse) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*TermsReviewResponseList) SetHREF

func (l *TermsReviewResponseList) SetHREF(href string)

Items sets the items of the list.

func (*TermsReviewResponseList) SetItems

func (l *TermsReviewResponseList) SetItems(items []*TermsReviewResponse)

Items sets the items of the list.

func (l *TermsReviewResponseList) SetLink(link bool)

Items sets the items of the list.

func (*TermsReviewResponseList) Slice

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type TermsReviewResponseListBuilder

type TermsReviewResponseListBuilder struct {
	// contains filtered or unexported fields
}

TermsReviewResponseListBuilder contains the data and logic needed to build 'terms_review_response' objects.

func NewTermsReviewResponseList

func NewTermsReviewResponseList() *TermsReviewResponseListBuilder

NewTermsReviewResponseList creates a new builder of 'terms_review_response' objects.

func (*TermsReviewResponseListBuilder) Build

Build creates a list of 'terms_review_response' objects using the configuration stored in the builder.

func (*TermsReviewResponseListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*TermsReviewResponseListBuilder) Empty

Empty returns true if the list is empty.

func (*TermsReviewResponseListBuilder) Items

Items sets the items of the list.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL