Documentation
¶
Index ¶
- Constants
- func MarshalAccessProtection(object *AccessProtection, writer io.Writer) error
- func MarshalAccessProtectionList(list []*AccessProtection, writer io.Writer) error
- func MarshalAccessRequest(object *AccessRequest, writer io.Writer) error
- func MarshalAccessRequestList(list []*AccessRequest, writer io.Writer) error
- func MarshalAccessRequestPostRequest(object *AccessRequestPostRequest, writer io.Writer) error
- func MarshalAccessRequestPostRequestList(list []*AccessRequestPostRequest, writer io.Writer) error
- func MarshalAccessRequestStateList(list []AccessRequestState, writer io.Writer) error
- func MarshalAccessRequestStatus(object *AccessRequestStatus, writer io.Writer) error
- func MarshalAccessRequestStatusList(list []*AccessRequestStatus, writer io.Writer) error
- func MarshalBooleanList(list []bool, writer io.Writer) error
- func MarshalDateList(list []time.Time, writer io.Writer) error
- func MarshalDecision(object *Decision, writer io.Writer) error
- func MarshalDecisionDecisionList(list []DecisionDecision, writer io.Writer) error
- func MarshalDecisionList(list []*Decision, writer io.Writer) error
- func MarshalFloatList(list []float64, writer io.Writer) error
- func MarshalIntegerList(list []int, writer io.Writer) error
- func MarshalInterfaceList(list []interface{}, writer io.Writer) error
- func MarshalLongList(list []int64, writer io.Writer) error
- func MarshalMetadata(object *Metadata, writer io.Writer) error
- func MarshalStringList(list []string, writer io.Writer) error
- func ReadBooleanList(iterator *jsoniter.Iterator) []bool
- func ReadDateList(iterator *jsoniter.Iterator) []time.Time
- func ReadFloatList(iterator *jsoniter.Iterator) []float64
- func ReadIntegerList(iterator *jsoniter.Iterator) []int
- func ReadInterfaceList(iterator *jsoniter.Iterator) []interface{}
- func ReadLongList(iterator *jsoniter.Iterator) []int64
- func ReadStringList(iterator *jsoniter.Iterator) []string
- func UnmarshalBooleanList(source interface{}) (items []bool, err error)
- func UnmarshalDateList(source interface{}) (items []time.Time, err error)
- func UnmarshalFloatList(source interface{}) (items []float64, err error)
- func UnmarshalIntegerList(source interface{}) (items []int, err error)
- func UnmarshalInterfaceList(source interface{}) (items []interface{}, err error)
- func UnmarshalLongList(source interface{}) (items []int64, err error)
- func UnmarshalStringList(source interface{}) (items []string, err error)
- func WriteAccessProtection(object *AccessProtection, stream *jsoniter.Stream)
- func WriteAccessProtectionList(list []*AccessProtection, stream *jsoniter.Stream)
- func WriteAccessRequest(object *AccessRequest, stream *jsoniter.Stream)
- func WriteAccessRequestList(list []*AccessRequest, stream *jsoniter.Stream)
- func WriteAccessRequestPostRequest(object *AccessRequestPostRequest, stream *jsoniter.Stream)
- func WriteAccessRequestPostRequestList(list []*AccessRequestPostRequest, stream *jsoniter.Stream)
- func WriteAccessRequestStateList(list []AccessRequestState, stream *jsoniter.Stream)
- func WriteAccessRequestStatus(object *AccessRequestStatus, stream *jsoniter.Stream)
- func WriteAccessRequestStatusList(list []*AccessRequestStatus, stream *jsoniter.Stream)
- func WriteBooleanList(list []bool, stream *jsoniter.Stream)
- func WriteDateList(list []time.Time, stream *jsoniter.Stream)
- func WriteDecision(object *Decision, stream *jsoniter.Stream)
- func WriteDecisionDecisionList(list []DecisionDecision, stream *jsoniter.Stream)
- func WriteDecisionList(list []*Decision, stream *jsoniter.Stream)
- func WriteFloatList(list []float64, stream *jsoniter.Stream)
- func WriteIntegerList(list []int, stream *jsoniter.Stream)
- func WriteInterfaceList(list []interface{}, stream *jsoniter.Stream)
- func WriteLongList(list []int64, stream *jsoniter.Stream)
- func WriteStringList(list []string, stream *jsoniter.Stream)
- type AccessProtection
- func ReadAccessProtection(iterator *jsoniter.Iterator) *AccessProtection
- func ReadAccessProtectionList(iterator *jsoniter.Iterator) []*AccessProtection
- func UnmarshalAccessProtection(source interface{}) (object *AccessProtection, err error)
- func UnmarshalAccessProtectionList(source interface{}) (items []*AccessProtection, err error)
- type AccessProtectionBuilder
- type AccessProtectionList
- func (l *AccessProtectionList) Each(f func(item *AccessProtection) bool)
- func (l *AccessProtectionList) Empty() bool
- func (l *AccessProtectionList) Get(i int) *AccessProtection
- func (l *AccessProtectionList) Items() []*AccessProtection
- func (l *AccessProtectionList) Len() int
- func (l *AccessProtectionList) Range(f func(index int, item *AccessProtection) bool)
- func (l *AccessProtectionList) SetHREF(href string)
- func (l *AccessProtectionList) SetItems(items []*AccessProtection)
- func (l *AccessProtectionList) SetLink(link bool)
- func (l *AccessProtectionList) Slice() []*AccessProtection
- type AccessProtectionListBuilder
- func (b *AccessProtectionListBuilder) Build() (list *AccessProtectionList, err error)
- func (b *AccessProtectionListBuilder) Copy(list *AccessProtectionList) *AccessProtectionListBuilder
- func (b *AccessProtectionListBuilder) Empty() bool
- func (b *AccessProtectionListBuilder) Items(values ...*AccessProtectionBuilder) *AccessProtectionListBuilder
- type AccessRequest
- func ReadAccessRequest(iterator *jsoniter.Iterator) *AccessRequest
- func ReadAccessRequestList(iterator *jsoniter.Iterator) []*AccessRequest
- func UnmarshalAccessRequest(source interface{}) (object *AccessRequest, err error)
- func UnmarshalAccessRequestList(source interface{}) (items []*AccessRequest, err error)
- func (o *AccessRequest) ClusterId() string
- func (o *AccessRequest) CreatedAt() time.Time
- func (o *AccessRequest) Deadline() string
- func (o *AccessRequest) DeadlineAt() time.Time
- func (o *AccessRequest) Decisions() []*Decision
- func (o *AccessRequest) Duration() string
- func (o *AccessRequest) Empty() bool
- func (o *AccessRequest) GetClusterId() (value string, ok bool)
- func (o *AccessRequest) GetCreatedAt() (value time.Time, ok bool)
- func (o *AccessRequest) GetDeadline() (value string, ok bool)
- func (o *AccessRequest) GetDeadlineAt() (value time.Time, ok bool)
- func (o *AccessRequest) GetDecisions() (value []*Decision, ok bool)
- func (o *AccessRequest) GetDuration() (value string, ok bool)
- func (o *AccessRequest) GetHREF() (value string, ok bool)
- func (o *AccessRequest) GetID() (value string, ok bool)
- func (o *AccessRequest) GetInternalSupportCaseId() (value string, ok bool)
- func (o *AccessRequest) GetJustification() (value string, ok bool)
- func (o *AccessRequest) GetOrganizationId() (value string, ok bool)
- func (o *AccessRequest) GetRequestedBy() (value string, ok bool)
- func (o *AccessRequest) GetStatus() (value *AccessRequestStatus, ok bool)
- func (o *AccessRequest) GetSubscriptionId() (value string, ok bool)
- func (o *AccessRequest) GetSupportCaseId() (value string, ok bool)
- func (o *AccessRequest) GetUpdatedAt() (value time.Time, ok bool)
- func (o *AccessRequest) HREF() string
- func (o *AccessRequest) ID() string
- func (o *AccessRequest) InternalSupportCaseId() string
- func (o *AccessRequest) Justification() string
- func (o *AccessRequest) Kind() string
- func (o *AccessRequest) Link() bool
- func (o *AccessRequest) OrganizationId() string
- func (o *AccessRequest) RequestedBy() string
- func (o *AccessRequest) Status() *AccessRequestStatus
- func (o *AccessRequest) SubscriptionId() string
- func (o *AccessRequest) SupportCaseId() string
- func (o *AccessRequest) UpdatedAt() time.Time
- type AccessRequestBuilder
- func (b *AccessRequestBuilder) Build() (object *AccessRequest, err error)
- func (b *AccessRequestBuilder) ClusterId(value string) *AccessRequestBuilder
- func (b *AccessRequestBuilder) Copy(object *AccessRequest) *AccessRequestBuilder
- func (b *AccessRequestBuilder) CreatedAt(value time.Time) *AccessRequestBuilder
- func (b *AccessRequestBuilder) Deadline(value string) *AccessRequestBuilder
- func (b *AccessRequestBuilder) DeadlineAt(value time.Time) *AccessRequestBuilder
- func (b *AccessRequestBuilder) Decisions(values ...*DecisionBuilder) *AccessRequestBuilder
- func (b *AccessRequestBuilder) Duration(value string) *AccessRequestBuilder
- func (b *AccessRequestBuilder) Empty() bool
- func (b *AccessRequestBuilder) HREF(value string) *AccessRequestBuilder
- func (b *AccessRequestBuilder) ID(value string) *AccessRequestBuilder
- func (b *AccessRequestBuilder) InternalSupportCaseId(value string) *AccessRequestBuilder
- func (b *AccessRequestBuilder) Justification(value string) *AccessRequestBuilder
- func (b *AccessRequestBuilder) Link(value bool) *AccessRequestBuilder
- func (b *AccessRequestBuilder) OrganizationId(value string) *AccessRequestBuilder
- func (b *AccessRequestBuilder) RequestedBy(value string) *AccessRequestBuilder
- func (b *AccessRequestBuilder) Status(value *AccessRequestStatusBuilder) *AccessRequestBuilder
- func (b *AccessRequestBuilder) SubscriptionId(value string) *AccessRequestBuilder
- func (b *AccessRequestBuilder) SupportCaseId(value string) *AccessRequestBuilder
- func (b *AccessRequestBuilder) UpdatedAt(value time.Time) *AccessRequestBuilder
- type AccessRequestList
- func (l *AccessRequestList) Each(f func(item *AccessRequest) bool)
- func (l *AccessRequestList) Empty() bool
- func (l *AccessRequestList) Get(i int) *AccessRequest
- func (l *AccessRequestList) GetHREF() (value string, ok bool)
- func (l *AccessRequestList) HREF() string
- func (l *AccessRequestList) Items() []*AccessRequest
- func (l *AccessRequestList) Kind() string
- func (l *AccessRequestList) Len() int
- func (l *AccessRequestList) Link() bool
- func (l *AccessRequestList) Range(f func(index int, item *AccessRequest) bool)
- func (l *AccessRequestList) SetHREF(href string)
- func (l *AccessRequestList) SetItems(items []*AccessRequest)
- func (l *AccessRequestList) SetLink(link bool)
- func (l *AccessRequestList) Slice() []*AccessRequest
- type AccessRequestListBuilder
- func (b *AccessRequestListBuilder) Build() (list *AccessRequestList, err error)
- func (b *AccessRequestListBuilder) Copy(list *AccessRequestList) *AccessRequestListBuilder
- func (b *AccessRequestListBuilder) Empty() bool
- func (b *AccessRequestListBuilder) Items(values ...*AccessRequestBuilder) *AccessRequestListBuilder
- type AccessRequestPostRequest
- func ReadAccessRequestPostRequest(iterator *jsoniter.Iterator) *AccessRequestPostRequest
- func ReadAccessRequestPostRequestList(iterator *jsoniter.Iterator) []*AccessRequestPostRequest
- func UnmarshalAccessRequestPostRequest(source interface{}) (object *AccessRequestPostRequest, err error)
- func UnmarshalAccessRequestPostRequestList(source interface{}) (items []*AccessRequestPostRequest, err error)
- func (o *AccessRequestPostRequest) ClusterId() string
- func (o *AccessRequestPostRequest) Deadline() string
- func (o *AccessRequestPostRequest) Duration() string
- func (o *AccessRequestPostRequest) Empty() bool
- func (o *AccessRequestPostRequest) GetClusterId() (value string, ok bool)
- func (o *AccessRequestPostRequest) GetDeadline() (value string, ok bool)
- func (o *AccessRequestPostRequest) GetDuration() (value string, ok bool)
- func (o *AccessRequestPostRequest) GetInternalSupportCaseId() (value string, ok bool)
- func (o *AccessRequestPostRequest) GetJustification() (value string, ok bool)
- func (o *AccessRequestPostRequest) GetSubscriptionId() (value string, ok bool)
- func (o *AccessRequestPostRequest) GetSupportCaseId() (value string, ok bool)
- func (o *AccessRequestPostRequest) InternalSupportCaseId() string
- func (o *AccessRequestPostRequest) Justification() string
- func (o *AccessRequestPostRequest) SubscriptionId() string
- func (o *AccessRequestPostRequest) SupportCaseId() string
- type AccessRequestPostRequestBuilder
- func (b *AccessRequestPostRequestBuilder) Build() (object *AccessRequestPostRequest, err error)
- func (b *AccessRequestPostRequestBuilder) ClusterId(value string) *AccessRequestPostRequestBuilder
- func (b *AccessRequestPostRequestBuilder) Copy(object *AccessRequestPostRequest) *AccessRequestPostRequestBuilder
- func (b *AccessRequestPostRequestBuilder) Deadline(value string) *AccessRequestPostRequestBuilder
- func (b *AccessRequestPostRequestBuilder) Duration(value string) *AccessRequestPostRequestBuilder
- func (b *AccessRequestPostRequestBuilder) Empty() bool
- func (b *AccessRequestPostRequestBuilder) InternalSupportCaseId(value string) *AccessRequestPostRequestBuilder
- func (b *AccessRequestPostRequestBuilder) Justification(value string) *AccessRequestPostRequestBuilder
- func (b *AccessRequestPostRequestBuilder) SubscriptionId(value string) *AccessRequestPostRequestBuilder
- func (b *AccessRequestPostRequestBuilder) SupportCaseId(value string) *AccessRequestPostRequestBuilder
- type AccessRequestPostRequestList
- func (l *AccessRequestPostRequestList) Each(f func(item *AccessRequestPostRequest) bool)
- func (l *AccessRequestPostRequestList) Empty() bool
- func (l *AccessRequestPostRequestList) Get(i int) *AccessRequestPostRequest
- func (l *AccessRequestPostRequestList) Items() []*AccessRequestPostRequest
- func (l *AccessRequestPostRequestList) Len() int
- func (l *AccessRequestPostRequestList) Range(f func(index int, item *AccessRequestPostRequest) bool)
- func (l *AccessRequestPostRequestList) SetHREF(href string)
- func (l *AccessRequestPostRequestList) SetItems(items []*AccessRequestPostRequest)
- func (l *AccessRequestPostRequestList) SetLink(link bool)
- func (l *AccessRequestPostRequestList) Slice() []*AccessRequestPostRequest
- type AccessRequestPostRequestListBuilder
- func (b *AccessRequestPostRequestListBuilder) Build() (list *AccessRequestPostRequestList, err error)
- func (b *AccessRequestPostRequestListBuilder) Copy(list *AccessRequestPostRequestList) *AccessRequestPostRequestListBuilder
- func (b *AccessRequestPostRequestListBuilder) Empty() bool
- func (b *AccessRequestPostRequestListBuilder) Items(values ...*AccessRequestPostRequestBuilder) *AccessRequestPostRequestListBuilder
- type AccessRequestState
- type AccessRequestStatus
- func ReadAccessRequestStatus(iterator *jsoniter.Iterator) *AccessRequestStatus
- func ReadAccessRequestStatusList(iterator *jsoniter.Iterator) []*AccessRequestStatus
- func UnmarshalAccessRequestStatus(source interface{}) (object *AccessRequestStatus, err error)
- func UnmarshalAccessRequestStatusList(source interface{}) (items []*AccessRequestStatus, err error)
- func (o *AccessRequestStatus) Empty() bool
- func (o *AccessRequestStatus) ExpiresAt() time.Time
- func (o *AccessRequestStatus) GetExpiresAt() (value time.Time, ok bool)
- func (o *AccessRequestStatus) GetState() (value AccessRequestState, ok bool)
- func (o *AccessRequestStatus) State() AccessRequestState
- type AccessRequestStatusBuilder
- func (b *AccessRequestStatusBuilder) Build() (object *AccessRequestStatus, err error)
- func (b *AccessRequestStatusBuilder) Copy(object *AccessRequestStatus) *AccessRequestStatusBuilder
- func (b *AccessRequestStatusBuilder) Empty() bool
- func (b *AccessRequestStatusBuilder) ExpiresAt(value time.Time) *AccessRequestStatusBuilder
- func (b *AccessRequestStatusBuilder) State(value AccessRequestState) *AccessRequestStatusBuilder
- type AccessRequestStatusList
- func (l *AccessRequestStatusList) Each(f func(item *AccessRequestStatus) bool)
- func (l *AccessRequestStatusList) Empty() bool
- func (l *AccessRequestStatusList) Get(i int) *AccessRequestStatus
- func (l *AccessRequestStatusList) Items() []*AccessRequestStatus
- func (l *AccessRequestStatusList) Len() int
- func (l *AccessRequestStatusList) Range(f func(index int, item *AccessRequestStatus) bool)
- func (l *AccessRequestStatusList) SetHREF(href string)
- func (l *AccessRequestStatusList) SetItems(items []*AccessRequestStatus)
- func (l *AccessRequestStatusList) SetLink(link bool)
- func (l *AccessRequestStatusList) Slice() []*AccessRequestStatus
- type AccessRequestStatusListBuilder
- func (b *AccessRequestStatusListBuilder) Build() (list *AccessRequestStatusList, err error)
- func (b *AccessRequestStatusListBuilder) Copy(list *AccessRequestStatusList) *AccessRequestStatusListBuilder
- func (b *AccessRequestStatusListBuilder) Empty() bool
- func (b *AccessRequestStatusListBuilder) Items(values ...*AccessRequestStatusBuilder) *AccessRequestStatusListBuilder
- type Decision
- func (o *Decision) CreatedAt() time.Time
- func (o *Decision) DecidedBy() string
- func (o *Decision) Decision() DecisionDecision
- func (o *Decision) Empty() bool
- func (o *Decision) GetCreatedAt() (value time.Time, ok bool)
- func (o *Decision) GetDecidedBy() (value string, ok bool)
- func (o *Decision) GetDecision() (value DecisionDecision, ok bool)
- func (o *Decision) GetHREF() (value string, ok bool)
- func (o *Decision) GetID() (value string, ok bool)
- func (o *Decision) GetJustification() (value string, ok bool)
- func (o *Decision) GetUpdatedAt() (value time.Time, ok bool)
- func (o *Decision) HREF() string
- func (o *Decision) ID() string
- func (o *Decision) Justification() string
- func (o *Decision) Kind() string
- func (o *Decision) Link() bool
- func (o *Decision) UpdatedAt() time.Time
- type DecisionBuilder
- func (b *DecisionBuilder) Build() (object *Decision, err error)
- func (b *DecisionBuilder) Copy(object *Decision) *DecisionBuilder
- func (b *DecisionBuilder) CreatedAt(value time.Time) *DecisionBuilder
- func (b *DecisionBuilder) DecidedBy(value string) *DecisionBuilder
- func (b *DecisionBuilder) Decision(value DecisionDecision) *DecisionBuilder
- func (b *DecisionBuilder) Empty() bool
- func (b *DecisionBuilder) HREF(value string) *DecisionBuilder
- func (b *DecisionBuilder) ID(value string) *DecisionBuilder
- func (b *DecisionBuilder) Justification(value string) *DecisionBuilder
- func (b *DecisionBuilder) Link(value bool) *DecisionBuilder
- func (b *DecisionBuilder) UpdatedAt(value time.Time) *DecisionBuilder
- type DecisionDecision
- type DecisionList
- func (l *DecisionList) Each(f func(item *Decision) bool)
- func (l *DecisionList) Empty() bool
- func (l *DecisionList) Get(i int) *Decision
- func (l *DecisionList) GetHREF() (value string, ok bool)
- func (l *DecisionList) HREF() string
- func (l *DecisionList) Items() []*Decision
- func (l *DecisionList) Kind() string
- func (l *DecisionList) Len() int
- func (l *DecisionList) Link() bool
- func (l *DecisionList) Range(f func(index int, item *Decision) bool)
- func (l *DecisionList) SetHREF(href string)
- func (l *DecisionList) SetItems(items []*Decision)
- func (l *DecisionList) SetLink(link bool)
- func (l *DecisionList) Slice() []*Decision
- type DecisionListBuilder
- type Metadata
Constants ¶
const AccessProtectionListKind = "AccessProtectionList"
AccessProtectionListKind is the name of the type used to represent list of objects of type 'access_protection'.
const AccessProtectionListLinkKind = "AccessProtectionListLink"
AccessProtectionListLinkKind is the name of the type used to represent links to list of objects of type 'access_protection'.
const AccessProtectionListNilKind = "AccessProtectionListNil"
AccessProtectionNilKind is the name of the type used to nil lists of objects of type 'access_protection'.
const AccessRequestKind = "AccessRequest"
AccessRequestKind is the name of the type used to represent objects of type 'access_request'.
const AccessRequestLinkKind = "AccessRequestLink"
AccessRequestLinkKind is the name of the type used to represent links to objects of type 'access_request'.
const AccessRequestListKind = "AccessRequestList"
AccessRequestListKind is the name of the type used to represent list of objects of type 'access_request'.
const AccessRequestListLinkKind = "AccessRequestListLink"
AccessRequestListLinkKind is the name of the type used to represent links to list of objects of type 'access_request'.
const AccessRequestListNilKind = "AccessRequestListNil"
AccessRequestNilKind is the name of the type used to nil lists of objects of type 'access_request'.
const AccessRequestNilKind = "AccessRequestNil"
AccessRequestNilKind is the name of the type used to nil references to objects of type 'access_request'.
const AccessRequestPostRequestListKind = "AccessRequestPostRequestList"
AccessRequestPostRequestListKind is the name of the type used to represent list of objects of type 'access_request_post_request'.
const AccessRequestPostRequestListLinkKind = "AccessRequestPostRequestListLink"
AccessRequestPostRequestListLinkKind is the name of the type used to represent links to list of objects of type 'access_request_post_request'.
const AccessRequestPostRequestListNilKind = "AccessRequestPostRequestListNil"
AccessRequestPostRequestNilKind is the name of the type used to nil lists of objects of type 'access_request_post_request'.
const AccessRequestStatusListKind = "AccessRequestStatusList"
AccessRequestStatusListKind is the name of the type used to represent list of objects of type 'access_request_status'.
const AccessRequestStatusListLinkKind = "AccessRequestStatusListLink"
AccessRequestStatusListLinkKind is the name of the type used to represent links to list of objects of type 'access_request_status'.
const AccessRequestStatusListNilKind = "AccessRequestStatusListNil"
AccessRequestStatusNilKind is the name of the type used to nil lists of objects of type 'access_request_status'.
const DecisionKind = "Decision"
DecisionKind is the name of the type used to represent objects of type 'decision'.
const DecisionLinkKind = "DecisionLink"
DecisionLinkKind is the name of the type used to represent links to objects of type 'decision'.
const DecisionListKind = "DecisionList"
DecisionListKind is the name of the type used to represent list of objects of type 'decision'.
const DecisionListLinkKind = "DecisionListLink"
DecisionListLinkKind is the name of the type used to represent links to list of objects of type 'decision'.
const DecisionListNilKind = "DecisionListNil"
DecisionNilKind is the name of the type used to nil lists of objects of type 'decision'.
const DecisionNilKind = "DecisionNil"
DecisionNilKind is the name of the type used to nil references to objects of type 'decision'.
Variables ¶
This section is empty.
Functions ¶
func MarshalAccessProtection ¶
func MarshalAccessProtection(object *AccessProtection, writer io.Writer) error
MarshalAccessProtection writes a value of the 'access_protection' type to the given writer.
func MarshalAccessProtectionList ¶
func MarshalAccessProtectionList(list []*AccessProtection, writer io.Writer) error
MarshalAccessProtectionList writes a list of values of the 'access_protection' type to the given writer.
func MarshalAccessRequest ¶
func MarshalAccessRequest(object *AccessRequest, writer io.Writer) error
MarshalAccessRequest writes a value of the 'access_request' type to the given writer.
func MarshalAccessRequestList ¶
func MarshalAccessRequestList(list []*AccessRequest, writer io.Writer) error
MarshalAccessRequestList writes a list of values of the 'access_request' type to the given writer.
func MarshalAccessRequestPostRequest ¶
func MarshalAccessRequestPostRequest(object *AccessRequestPostRequest, writer io.Writer) error
MarshalAccessRequestPostRequest writes a value of the 'access_request_post_request' type to the given writer.
func MarshalAccessRequestPostRequestList ¶
func MarshalAccessRequestPostRequestList(list []*AccessRequestPostRequest, writer io.Writer) error
MarshalAccessRequestPostRequestList writes a list of values of the 'access_request_post_request' type to the given writer.
func MarshalAccessRequestStateList ¶
func MarshalAccessRequestStateList(list []AccessRequestState, writer io.Writer) error
MarshalAccessRequestStateList writes a list of values of the 'access_request_state' type to the given writer.
func MarshalAccessRequestStatus ¶
func MarshalAccessRequestStatus(object *AccessRequestStatus, writer io.Writer) error
MarshalAccessRequestStatus writes a value of the 'access_request_status' type to the given writer.
func MarshalAccessRequestStatusList ¶
func MarshalAccessRequestStatusList(list []*AccessRequestStatus, writer io.Writer) error
MarshalAccessRequestStatusList writes a list of values of the 'access_request_status' type to the given writer.
func MarshalBooleanList ¶
MarshalBooleanList writes a list of values of the 'boolean' type to the given writer.
func MarshalDateList ¶
MarshalDateList writes a list of values of the 'date' type to the given writer.
func MarshalDecision ¶
MarshalDecision writes a value of the 'decision' type to the given writer.
func MarshalDecisionDecisionList ¶
func MarshalDecisionDecisionList(list []DecisionDecision, writer io.Writer) error
MarshalDecisionDecisionList writes a list of values of the 'decision_decision' type to the given writer.
func MarshalDecisionList ¶
MarshalDecisionList writes a list of values of the 'decision' type to the given writer.
func MarshalFloatList ¶
MarshalFloatList writes a list of values of the 'float' type to the given writer.
func MarshalIntegerList ¶
MarshalIntegerList writes a list of values of the 'integer' type to the given writer.
func MarshalInterfaceList ¶
MarshalInterfaceList writes a list of values of the 'interface' type to the given writer.
func MarshalLongList ¶
MarshalLongList writes a list of values of the 'long' type to the given writer.
func MarshalMetadata ¶
MarshalMetadata writes a value of the metadata type to the given target, which can be a writer or a JSON encoder.
func MarshalStringList ¶
MarshalStringList writes a list of values of the 'string' type to the given writer.
func ReadBooleanList ¶
ReadBooleanList reads list of values of the ”boolean' type from the given iterator.
func ReadDateList ¶
ReadDateList reads list of values of the ”date' type from the given iterator.
func ReadFloatList ¶
ReadFloatList reads list of values of the ”float' type from the given iterator.
func ReadIntegerList ¶
ReadIntegerList reads list of values of the ”integer' type from the given iterator.
func ReadInterfaceList ¶
ReadInterfaceList reads list of values of the ”interface' type from the given iterator.
func ReadLongList ¶
ReadLongList reads list of values of the ”long' type from the given iterator.
func ReadStringList ¶
ReadStringList reads list of values of the ”string' type from the given iterator.
func UnmarshalBooleanList ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 WriteAccessProtection ¶
func WriteAccessProtection(object *AccessProtection, stream *jsoniter.Stream)
WriteAccessProtection writes a value of the 'access_protection' type to the given stream.
func WriteAccessProtectionList ¶
func WriteAccessProtectionList(list []*AccessProtection, stream *jsoniter.Stream)
WriteAccessProtectionList writes a list of value of the 'access_protection' type to the given stream.
func WriteAccessRequest ¶
func WriteAccessRequest(object *AccessRequest, stream *jsoniter.Stream)
WriteAccessRequest writes a value of the 'access_request' type to the given stream.
func WriteAccessRequestList ¶
func WriteAccessRequestList(list []*AccessRequest, stream *jsoniter.Stream)
WriteAccessRequestList writes a list of value of the 'access_request' type to the given stream.
func WriteAccessRequestPostRequest ¶
func WriteAccessRequestPostRequest(object *AccessRequestPostRequest, stream *jsoniter.Stream)
WriteAccessRequestPostRequest writes a value of the 'access_request_post_request' type to the given stream.
func WriteAccessRequestPostRequestList ¶
func WriteAccessRequestPostRequestList(list []*AccessRequestPostRequest, stream *jsoniter.Stream)
WriteAccessRequestPostRequestList writes a list of value of the 'access_request_post_request' type to the given stream.
func WriteAccessRequestStateList ¶
func WriteAccessRequestStateList(list []AccessRequestState, stream *jsoniter.Stream)
WriteAccessRequestStateList writes a list of value of the 'access_request_state' type to the given stream.
func WriteAccessRequestStatus ¶
func WriteAccessRequestStatus(object *AccessRequestStatus, stream *jsoniter.Stream)
WriteAccessRequestStatus writes a value of the 'access_request_status' type to the given stream.
func WriteAccessRequestStatusList ¶
func WriteAccessRequestStatusList(list []*AccessRequestStatus, stream *jsoniter.Stream)
WriteAccessRequestStatusList writes a list of value of the 'access_request_status' type to the given stream.
func WriteBooleanList ¶
WriteBooleanList writes a list of value of the 'boolean' type to the given stream.
func WriteDateList ¶
WriteDateList writes a list of value of the 'date' type to the given stream.
func WriteDecision ¶
WriteDecision writes a value of the 'decision' type to the given stream.
func WriteDecisionDecisionList ¶
func WriteDecisionDecisionList(list []DecisionDecision, stream *jsoniter.Stream)
WriteDecisionDecisionList writes a list of value of the 'decision_decision' type to the given stream.
func WriteDecisionList ¶
WriteDecisionList writes a list of value of the 'decision' type to the given stream.
func WriteFloatList ¶
WriteFloatList writes a list of value of the 'float' type to the given stream.
func WriteIntegerList ¶
WriteIntegerList writes a list of value of the 'integer' type to the given stream.
func WriteInterfaceList ¶
WriteInterfaceList writes a list of value of the 'interface' type to the given stream.
func WriteLongList ¶
WriteLongList writes a list of value of the 'long' type to the given stream.
func WriteStringList ¶
WriteStringList writes a list of value of the 'string' type to the given stream.
Types ¶
type AccessProtection ¶
type AccessProtection struct {
// contains filtered or unexported fields
}
AccessProtection represents the values of the 'access_protection' type.
Representation of an access protection.
func ReadAccessProtection ¶
func ReadAccessProtection(iterator *jsoniter.Iterator) *AccessProtection
ReadAccessProtection reads a value of the 'access_protection' type from the given iterator.
func ReadAccessProtectionList ¶
func ReadAccessProtectionList(iterator *jsoniter.Iterator) []*AccessProtection
ReadAccessProtectionList reads list of values of the ”access_protection' type from the given iterator.
func UnmarshalAccessProtection ¶
func UnmarshalAccessProtection(source interface{}) (object *AccessProtection, err error)
UnmarshalAccessProtection reads a value of the 'access_protection' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAccessProtectionList ¶
func UnmarshalAccessProtectionList(source interface{}) (items []*AccessProtection, err error)
UnmarshalAccessProtectionList reads a list of values of the 'access_protection' type from the given source, which can be a slice of bytes, a string or a reader.
func (*AccessProtection) Empty ¶
func (o *AccessProtection) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*AccessProtection) Enabled ¶
func (o *AccessProtection) 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.
func (*AccessProtection) GetEnabled ¶
func (o *AccessProtection) GetEnabled() (value bool, ok bool)
GetEnabled returns the value of the 'enabled' attribute and a flag indicating if the attribute has a value.
type AccessProtectionBuilder ¶
type AccessProtectionBuilder struct {
// contains filtered or unexported fields
}
Representation of an access protection.
func NewAccessProtection ¶
func NewAccessProtection() *AccessProtectionBuilder
NewAccessProtection creates a new builder of 'access_protection' objects.
func (*AccessProtectionBuilder) Build ¶
func (b *AccessProtectionBuilder) Build() (object *AccessProtection, err error)
Build creates a 'access_protection' object using the configuration stored in the builder.
func (*AccessProtectionBuilder) Copy ¶
func (b *AccessProtectionBuilder) Copy(object *AccessProtection) *AccessProtectionBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*AccessProtectionBuilder) Empty ¶
func (b *AccessProtectionBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*AccessProtectionBuilder) Enabled ¶
func (b *AccessProtectionBuilder) Enabled(value bool) *AccessProtectionBuilder
Enabled sets the value of the 'enabled' attribute to the given value.
type AccessProtectionList ¶
type AccessProtectionList struct {
// contains filtered or unexported fields
}
AccessProtectionList is a list of values of the 'access_protection' type.
func (*AccessProtectionList) Each ¶
func (l *AccessProtectionList) Each(f func(item *AccessProtection) 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 (*AccessProtectionList) Empty ¶
func (l *AccessProtectionList) Empty() bool
Empty returns true if the list is empty.
func (*AccessProtectionList) Get ¶
func (l *AccessProtectionList) Get(i int) *AccessProtection
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*AccessProtectionList) Items ¶
func (l *AccessProtectionList) Items() []*AccessProtection
Items returns the items of the list.
func (*AccessProtectionList) Len ¶
func (l *AccessProtectionList) Len() int
Len returns the length of the list.
func (*AccessProtectionList) Range ¶
func (l *AccessProtectionList) Range(f func(index int, item *AccessProtection) 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 (*AccessProtectionList) SetHREF ¶
func (l *AccessProtectionList) SetHREF(href string)
Items sets the items of the list.
func (*AccessProtectionList) SetItems ¶
func (l *AccessProtectionList) SetItems(items []*AccessProtection)
Items sets the items of the list.
func (*AccessProtectionList) SetLink ¶
func (l *AccessProtectionList) SetLink(link bool)
Items sets the items of the list.
func (*AccessProtectionList) Slice ¶
func (l *AccessProtectionList) Slice() []*AccessProtection
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 AccessProtectionListBuilder ¶
type AccessProtectionListBuilder struct {
// contains filtered or unexported fields
}
AccessProtectionListBuilder contains the data and logic needed to build 'access_protection' objects.
func NewAccessProtectionList ¶
func NewAccessProtectionList() *AccessProtectionListBuilder
NewAccessProtectionList creates a new builder of 'access_protection' objects.
func (*AccessProtectionListBuilder) Build ¶
func (b *AccessProtectionListBuilder) Build() (list *AccessProtectionList, err error)
Build creates a list of 'access_protection' objects using the configuration stored in the builder.
func (*AccessProtectionListBuilder) Copy ¶
func (b *AccessProtectionListBuilder) Copy(list *AccessProtectionList) *AccessProtectionListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AccessProtectionListBuilder) Empty ¶
func (b *AccessProtectionListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*AccessProtectionListBuilder) Items ¶
func (b *AccessProtectionListBuilder) Items(values ...*AccessProtectionBuilder) *AccessProtectionListBuilder
Items sets the items of the list.
type AccessRequest ¶
type AccessRequest struct {
// contains filtered or unexported fields
}
AccessRequest represents the values of the 'access_request' type.
Representation of an access request.
func ReadAccessRequest ¶
func ReadAccessRequest(iterator *jsoniter.Iterator) *AccessRequest
ReadAccessRequest reads a value of the 'access_request' type from the given iterator.
func ReadAccessRequestList ¶
func ReadAccessRequestList(iterator *jsoniter.Iterator) []*AccessRequest
ReadAccessRequestList reads list of values of the ”access_request' type from the given iterator.
func UnmarshalAccessRequest ¶
func UnmarshalAccessRequest(source interface{}) (object *AccessRequest, err error)
UnmarshalAccessRequest reads a value of the 'access_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAccessRequestList ¶
func UnmarshalAccessRequestList(source interface{}) (items []*AccessRequest, err error)
UnmarshalAccessRequestList reads a list of values of the 'access_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*AccessRequest) ClusterId ¶
func (o *AccessRequest) 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.
Cluster from which the Access Request belongs to.
func (*AccessRequest) CreatedAt ¶
func (o *AccessRequest) CreatedAt() time.Time
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Date and time when the access request was initially created, using the format defined in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt).
func (*AccessRequest) Deadline ¶
func (o *AccessRequest) Deadline() string
Deadline returns the value of the 'deadline' attribute, or the zero value of the type if the attribute doesn't have a value.
How long the Access Request can be in pending state waiting for a customer decision.
func (*AccessRequest) DeadlineAt ¶
func (o *AccessRequest) DeadlineAt() time.Time
DeadlineAt returns the value of the 'deadline_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Date and time for the deadline that the Access Request needs to be decided, using the format defined in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt).
func (*AccessRequest) Decisions ¶
func (o *AccessRequest) Decisions() []*Decision
Decisions returns the value of the 'decisions' attribute, or the zero value of the type if the attribute doesn't have a value.
Decisions attached to the Access Request.
func (*AccessRequest) Duration ¶
func (o *AccessRequest) Duration() string
Duration returns the value of the 'duration' attribute, or the zero value of the type if the attribute doesn't have a value.
How long the access will last after it's been approved.
func (*AccessRequest) Empty ¶
func (o *AccessRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*AccessRequest) GetClusterId ¶
func (o *AccessRequest) GetClusterId() (value string, ok bool)
GetClusterId returns the value of the 'cluster_id' attribute and a flag indicating if the attribute has a value.
Cluster from which the Access Request belongs to.
func (*AccessRequest) GetCreatedAt ¶
func (o *AccessRequest) GetCreatedAt() (value time.Time, ok bool)
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
Date and time when the access request was initially created, using the format defined in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt).
func (*AccessRequest) GetDeadline ¶
func (o *AccessRequest) GetDeadline() (value string, ok bool)
GetDeadline returns the value of the 'deadline' attribute and a flag indicating if the attribute has a value.
How long the Access Request can be in pending state waiting for a customer decision.
func (*AccessRequest) GetDeadlineAt ¶
func (o *AccessRequest) GetDeadlineAt() (value time.Time, ok bool)
GetDeadlineAt returns the value of the 'deadline_at' attribute and a flag indicating if the attribute has a value.
Date and time for the deadline that the Access Request needs to be decided, using the format defined in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt).
func (*AccessRequest) GetDecisions ¶
func (o *AccessRequest) GetDecisions() (value []*Decision, ok bool)
GetDecisions returns the value of the 'decisions' attribute and a flag indicating if the attribute has a value.
Decisions attached to the Access Request.
func (*AccessRequest) GetDuration ¶
func (o *AccessRequest) GetDuration() (value string, ok bool)
GetDuration returns the value of the 'duration' attribute and a flag indicating if the attribute has a value.
How long the access will last after it's been approved.
func (*AccessRequest) GetHREF ¶
func (o *AccessRequest) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*AccessRequest) GetID ¶
func (o *AccessRequest) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*AccessRequest) GetInternalSupportCaseId ¶
func (o *AccessRequest) GetInternalSupportCaseId() (value string, ok bool)
GetInternalSupportCaseId returns the value of the 'internal_support_case_id' attribute and a flag indicating if the attribute has a value.
Internal support case id linking to jira ticket.
func (*AccessRequest) GetJustification ¶
func (o *AccessRequest) GetJustification() (value string, ok bool)
GetJustification returns the value of the 'justification' attribute and a flag indicating if the attribute has a value.
Justification of the Access Request.
func (*AccessRequest) GetOrganizationId ¶
func (o *AccessRequest) GetOrganizationId() (value string, ok bool)
GetOrganizationId returns the value of the 'organization_id' attribute and a flag indicating if the attribute has a value.
Organization from which the Access Request belongs to.
func (*AccessRequest) GetRequestedBy ¶
func (o *AccessRequest) GetRequestedBy() (value string, ok bool)
GetRequestedBy returns the value of the 'requested_by' attribute and a flag indicating if the attribute has a value.
User that requested the Access.
func (*AccessRequest) GetStatus ¶
func (o *AccessRequest) GetStatus() (value *AccessRequestStatus, ok bool)
GetStatus returns the value of the 'status' attribute and a flag indicating if the attribute has a value.
Access Request status.
func (*AccessRequest) GetSubscriptionId ¶
func (o *AccessRequest) GetSubscriptionId() (value string, ok bool)
GetSubscriptionId returns the value of the 'subscription_id' attribute and a flag indicating if the attribute has a value.
Subscription from which the Access Request belongs to.
func (*AccessRequest) GetSupportCaseId ¶
func (o *AccessRequest) GetSupportCaseId() (value string, ok bool)
GetSupportCaseId returns the value of the 'support_case_id' attribute and a flag indicating if the attribute has a value.
Support case ID linking to JIRA ticket.
func (*AccessRequest) GetUpdatedAt ¶
func (o *AccessRequest) GetUpdatedAt() (value time.Time, ok bool)
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
Date and time when the access request was lastly updated, using the format defined in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt).
func (*AccessRequest) HREF ¶
func (o *AccessRequest) HREF() string
HREF returns the link to the object.
func (*AccessRequest) ID ¶
func (o *AccessRequest) ID() string
ID returns the identifier of the object.
func (*AccessRequest) InternalSupportCaseId ¶
func (o *AccessRequest) InternalSupportCaseId() string
InternalSupportCaseId returns the value of the 'internal_support_case_id' attribute, or the zero value of the type if the attribute doesn't have a value.
Internal support case id linking to jira ticket.
func (*AccessRequest) Justification ¶
func (o *AccessRequest) Justification() string
Justification returns the value of the 'justification' attribute, or the zero value of the type if the attribute doesn't have a value.
Justification of the Access Request.
func (*AccessRequest) Kind ¶
func (o *AccessRequest) Kind() string
Kind returns the name of the type of the object.
func (*AccessRequest) Link ¶
func (o *AccessRequest) Link() bool
Link returns true if this is a link.
func (*AccessRequest) OrganizationId ¶
func (o *AccessRequest) 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.
Organization from which the Access Request belongs to.
func (*AccessRequest) RequestedBy ¶
func (o *AccessRequest) RequestedBy() string
RequestedBy returns the value of the 'requested_by' attribute, or the zero value of the type if the attribute doesn't have a value.
User that requested the Access.
func (*AccessRequest) Status ¶
func (o *AccessRequest) Status() *AccessRequestStatus
Status returns the value of the 'status' attribute, or the zero value of the type if the attribute doesn't have a value.
Access Request status.
func (*AccessRequest) SubscriptionId ¶
func (o *AccessRequest) 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.
Subscription from which the Access Request belongs to.
func (*AccessRequest) SupportCaseId ¶
func (o *AccessRequest) SupportCaseId() string
SupportCaseId returns the value of the 'support_case_id' attribute, or the zero value of the type if the attribute doesn't have a value.
Support case ID linking to JIRA ticket.
func (*AccessRequest) UpdatedAt ¶
func (o *AccessRequest) UpdatedAt() time.Time
UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Date and time when the access request was lastly updated, using the format defined in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt).
type AccessRequestBuilder ¶
type AccessRequestBuilder struct {
// contains filtered or unexported fields
}
Representation of an access request.
func NewAccessRequest ¶
func NewAccessRequest() *AccessRequestBuilder
NewAccessRequest creates a new builder of 'access_request' objects.
func (*AccessRequestBuilder) Build ¶
func (b *AccessRequestBuilder) Build() (object *AccessRequest, err error)
Build creates a 'access_request' object using the configuration stored in the builder.
func (*AccessRequestBuilder) ClusterId ¶
func (b *AccessRequestBuilder) ClusterId(value string) *AccessRequestBuilder
ClusterId sets the value of the 'cluster_id' attribute to the given value.
func (*AccessRequestBuilder) Copy ¶
func (b *AccessRequestBuilder) Copy(object *AccessRequest) *AccessRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*AccessRequestBuilder) CreatedAt ¶
func (b *AccessRequestBuilder) CreatedAt(value time.Time) *AccessRequestBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*AccessRequestBuilder) Deadline ¶
func (b *AccessRequestBuilder) Deadline(value string) *AccessRequestBuilder
Deadline sets the value of the 'deadline' attribute to the given value.
func (*AccessRequestBuilder) DeadlineAt ¶
func (b *AccessRequestBuilder) DeadlineAt(value time.Time) *AccessRequestBuilder
DeadlineAt sets the value of the 'deadline_at' attribute to the given value.
func (*AccessRequestBuilder) Decisions ¶
func (b *AccessRequestBuilder) Decisions(values ...*DecisionBuilder) *AccessRequestBuilder
Decisions sets the value of the 'decisions' attribute to the given values.
func (*AccessRequestBuilder) Duration ¶
func (b *AccessRequestBuilder) Duration(value string) *AccessRequestBuilder
Duration sets the value of the 'duration' attribute to the given value.
func (*AccessRequestBuilder) Empty ¶
func (b *AccessRequestBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*AccessRequestBuilder) HREF ¶
func (b *AccessRequestBuilder) HREF(value string) *AccessRequestBuilder
HREF sets the link to the object.
func (*AccessRequestBuilder) ID ¶
func (b *AccessRequestBuilder) ID(value string) *AccessRequestBuilder
ID sets the identifier of the object.
func (*AccessRequestBuilder) InternalSupportCaseId ¶
func (b *AccessRequestBuilder) InternalSupportCaseId(value string) *AccessRequestBuilder
InternalSupportCaseId sets the value of the 'internal_support_case_id' attribute to the given value.
func (*AccessRequestBuilder) Justification ¶
func (b *AccessRequestBuilder) Justification(value string) *AccessRequestBuilder
Justification sets the value of the 'justification' attribute to the given value.
func (*AccessRequestBuilder) Link ¶
func (b *AccessRequestBuilder) Link(value bool) *AccessRequestBuilder
Link sets the flag that indicates if this is a link.
func (*AccessRequestBuilder) OrganizationId ¶
func (b *AccessRequestBuilder) OrganizationId(value string) *AccessRequestBuilder
OrganizationId sets the value of the 'organization_id' attribute to the given value.
func (*AccessRequestBuilder) RequestedBy ¶
func (b *AccessRequestBuilder) RequestedBy(value string) *AccessRequestBuilder
RequestedBy sets the value of the 'requested_by' attribute to the given value.
func (*AccessRequestBuilder) Status ¶
func (b *AccessRequestBuilder) Status(value *AccessRequestStatusBuilder) *AccessRequestBuilder
Status sets the value of the 'status' attribute to the given value.
Representation of an access request status.
func (*AccessRequestBuilder) SubscriptionId ¶
func (b *AccessRequestBuilder) SubscriptionId(value string) *AccessRequestBuilder
SubscriptionId sets the value of the 'subscription_id' attribute to the given value.
func (*AccessRequestBuilder) SupportCaseId ¶
func (b *AccessRequestBuilder) SupportCaseId(value string) *AccessRequestBuilder
SupportCaseId sets the value of the 'support_case_id' attribute to the given value.
func (*AccessRequestBuilder) UpdatedAt ¶
func (b *AccessRequestBuilder) UpdatedAt(value time.Time) *AccessRequestBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type AccessRequestList ¶
type AccessRequestList struct {
// contains filtered or unexported fields
}
AccessRequestList is a list of values of the 'access_request' type.
func (*AccessRequestList) Each ¶
func (l *AccessRequestList) Each(f func(item *AccessRequest) 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 (*AccessRequestList) Empty ¶
func (l *AccessRequestList) Empty() bool
Empty returns true if the list is empty.
func (*AccessRequestList) Get ¶
func (l *AccessRequestList) Get(i int) *AccessRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*AccessRequestList) GetHREF ¶
func (l *AccessRequestList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*AccessRequestList) HREF ¶
func (l *AccessRequestList) HREF() string
HREF returns the link to the list.
func (*AccessRequestList) Items ¶
func (l *AccessRequestList) Items() []*AccessRequest
Items returns the items of the list.
func (*AccessRequestList) Kind ¶
func (l *AccessRequestList) Kind() string
Kind returns the name of the type of the object.
func (*AccessRequestList) Len ¶
func (l *AccessRequestList) Len() int
Len returns the length of the list.
func (*AccessRequestList) Link ¶
func (l *AccessRequestList) Link() bool
Link returns true iif this is a link.
func (*AccessRequestList) Range ¶
func (l *AccessRequestList) Range(f func(index int, item *AccessRequest) 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 (*AccessRequestList) SetHREF ¶
func (l *AccessRequestList) SetHREF(href string)
Items sets the items of the list.
func (*AccessRequestList) SetItems ¶
func (l *AccessRequestList) SetItems(items []*AccessRequest)
Items sets the items of the list.
func (*AccessRequestList) SetLink ¶
func (l *AccessRequestList) SetLink(link bool)
Items sets the items of the list.
func (*AccessRequestList) Slice ¶
func (l *AccessRequestList) Slice() []*AccessRequest
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 AccessRequestListBuilder ¶
type AccessRequestListBuilder struct {
// contains filtered or unexported fields
}
AccessRequestListBuilder contains the data and logic needed to build 'access_request' objects.
func NewAccessRequestList ¶
func NewAccessRequestList() *AccessRequestListBuilder
NewAccessRequestList creates a new builder of 'access_request' objects.
func (*AccessRequestListBuilder) Build ¶
func (b *AccessRequestListBuilder) Build() (list *AccessRequestList, err error)
Build creates a list of 'access_request' objects using the configuration stored in the builder.
func (*AccessRequestListBuilder) Copy ¶
func (b *AccessRequestListBuilder) Copy(list *AccessRequestList) *AccessRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AccessRequestListBuilder) Empty ¶
func (b *AccessRequestListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*AccessRequestListBuilder) Items ¶
func (b *AccessRequestListBuilder) Items(values ...*AccessRequestBuilder) *AccessRequestListBuilder
Items sets the items of the list.
type AccessRequestPostRequest ¶
type AccessRequestPostRequest struct {
// contains filtered or unexported fields
}
AccessRequestPostRequest represents the values of the 'access_request_post_request' type.
Representation of an access request post request.
func ReadAccessRequestPostRequest ¶
func ReadAccessRequestPostRequest(iterator *jsoniter.Iterator) *AccessRequestPostRequest
ReadAccessRequestPostRequest reads a value of the 'access_request_post_request' type from the given iterator.
func ReadAccessRequestPostRequestList ¶
func ReadAccessRequestPostRequestList(iterator *jsoniter.Iterator) []*AccessRequestPostRequest
ReadAccessRequestPostRequestList reads list of values of the ”access_request_post_request' type from the given iterator.
func UnmarshalAccessRequestPostRequest ¶
func UnmarshalAccessRequestPostRequest(source interface{}) (object *AccessRequestPostRequest, err error)
UnmarshalAccessRequestPostRequest reads a value of the 'access_request_post_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAccessRequestPostRequestList ¶
func UnmarshalAccessRequestPostRequestList(source interface{}) (items []*AccessRequestPostRequest, err error)
UnmarshalAccessRequestPostRequestList reads a list of values of the 'access_request_post_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*AccessRequestPostRequest) ClusterId ¶
func (o *AccessRequestPostRequest) 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.
Cluster from which the Access Request belongs to.
func (*AccessRequestPostRequest) Deadline ¶
func (o *AccessRequestPostRequest) Deadline() string
Deadline returns the value of the 'deadline' attribute, or the zero value of the type if the attribute doesn't have a value.
How long the Access Request can be in pending state waiting for a customer decision.
func (*AccessRequestPostRequest) Duration ¶
func (o *AccessRequestPostRequest) Duration() string
Duration returns the value of the 'duration' attribute, or the zero value of the type if the attribute doesn't have a value.
How long the access will last after it's been approved.
func (*AccessRequestPostRequest) Empty ¶
func (o *AccessRequestPostRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*AccessRequestPostRequest) GetClusterId ¶
func (o *AccessRequestPostRequest) GetClusterId() (value string, ok bool)
GetClusterId returns the value of the 'cluster_id' attribute and a flag indicating if the attribute has a value.
Cluster from which the Access Request belongs to.
func (*AccessRequestPostRequest) GetDeadline ¶
func (o *AccessRequestPostRequest) GetDeadline() (value string, ok bool)
GetDeadline returns the value of the 'deadline' attribute and a flag indicating if the attribute has a value.
How long the Access Request can be in pending state waiting for a customer decision.
func (*AccessRequestPostRequest) GetDuration ¶
func (o *AccessRequestPostRequest) GetDuration() (value string, ok bool)
GetDuration returns the value of the 'duration' attribute and a flag indicating if the attribute has a value.
How long the access will last after it's been approved.
func (*AccessRequestPostRequest) GetInternalSupportCaseId ¶
func (o *AccessRequestPostRequest) GetInternalSupportCaseId() (value string, ok bool)
GetInternalSupportCaseId returns the value of the 'internal_support_case_id' attribute and a flag indicating if the attribute has a value.
Internal support case id linking to jira ticket.
func (*AccessRequestPostRequest) GetJustification ¶
func (o *AccessRequestPostRequest) GetJustification() (value string, ok bool)
GetJustification returns the value of the 'justification' attribute and a flag indicating if the attribute has a value.
Justification of the Access Request.
func (*AccessRequestPostRequest) GetSubscriptionId ¶
func (o *AccessRequestPostRequest) GetSubscriptionId() (value string, ok bool)
GetSubscriptionId returns the value of the 'subscription_id' attribute and a flag indicating if the attribute has a value.
Subscription from which the Access Request belongs to.
func (*AccessRequestPostRequest) GetSupportCaseId ¶
func (o *AccessRequestPostRequest) GetSupportCaseId() (value string, ok bool)
GetSupportCaseId returns the value of the 'support_case_id' attribute and a flag indicating if the attribute has a value.
Support case ID linking to JIRA ticket.
func (*AccessRequestPostRequest) InternalSupportCaseId ¶
func (o *AccessRequestPostRequest) InternalSupportCaseId() string
InternalSupportCaseId returns the value of the 'internal_support_case_id' attribute, or the zero value of the type if the attribute doesn't have a value.
Internal support case id linking to jira ticket.
func (*AccessRequestPostRequest) Justification ¶
func (o *AccessRequestPostRequest) Justification() string
Justification returns the value of the 'justification' attribute, or the zero value of the type if the attribute doesn't have a value.
Justification of the Access Request.
func (*AccessRequestPostRequest) SubscriptionId ¶
func (o *AccessRequestPostRequest) 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.
Subscription from which the Access Request belongs to.
func (*AccessRequestPostRequest) SupportCaseId ¶
func (o *AccessRequestPostRequest) SupportCaseId() string
SupportCaseId returns the value of the 'support_case_id' attribute, or the zero value of the type if the attribute doesn't have a value.
Support case ID linking to JIRA ticket.
type AccessRequestPostRequestBuilder ¶
type AccessRequestPostRequestBuilder struct {
// contains filtered or unexported fields
}
Representation of an access request post request.
func NewAccessRequestPostRequest ¶
func NewAccessRequestPostRequest() *AccessRequestPostRequestBuilder
NewAccessRequestPostRequest creates a new builder of 'access_request_post_request' objects.
func (*AccessRequestPostRequestBuilder) Build ¶
func (b *AccessRequestPostRequestBuilder) Build() (object *AccessRequestPostRequest, err error)
Build creates a 'access_request_post_request' object using the configuration stored in the builder.
func (*AccessRequestPostRequestBuilder) ClusterId ¶
func (b *AccessRequestPostRequestBuilder) ClusterId(value string) *AccessRequestPostRequestBuilder
ClusterId sets the value of the 'cluster_id' attribute to the given value.
func (*AccessRequestPostRequestBuilder) Copy ¶
func (b *AccessRequestPostRequestBuilder) Copy(object *AccessRequestPostRequest) *AccessRequestPostRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*AccessRequestPostRequestBuilder) Deadline ¶
func (b *AccessRequestPostRequestBuilder) Deadline(value string) *AccessRequestPostRequestBuilder
Deadline sets the value of the 'deadline' attribute to the given value.
func (*AccessRequestPostRequestBuilder) Duration ¶
func (b *AccessRequestPostRequestBuilder) Duration(value string) *AccessRequestPostRequestBuilder
Duration sets the value of the 'duration' attribute to the given value.
func (*AccessRequestPostRequestBuilder) Empty ¶
func (b *AccessRequestPostRequestBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*AccessRequestPostRequestBuilder) InternalSupportCaseId ¶
func (b *AccessRequestPostRequestBuilder) InternalSupportCaseId(value string) *AccessRequestPostRequestBuilder
InternalSupportCaseId sets the value of the 'internal_support_case_id' attribute to the given value.
func (*AccessRequestPostRequestBuilder) Justification ¶
func (b *AccessRequestPostRequestBuilder) Justification(value string) *AccessRequestPostRequestBuilder
Justification sets the value of the 'justification' attribute to the given value.
func (*AccessRequestPostRequestBuilder) SubscriptionId ¶
func (b *AccessRequestPostRequestBuilder) SubscriptionId(value string) *AccessRequestPostRequestBuilder
SubscriptionId sets the value of the 'subscription_id' attribute to the given value.
func (*AccessRequestPostRequestBuilder) SupportCaseId ¶
func (b *AccessRequestPostRequestBuilder) SupportCaseId(value string) *AccessRequestPostRequestBuilder
SupportCaseId sets the value of the 'support_case_id' attribute to the given value.
type AccessRequestPostRequestList ¶
type AccessRequestPostRequestList struct {
// contains filtered or unexported fields
}
AccessRequestPostRequestList is a list of values of the 'access_request_post_request' type.
func (*AccessRequestPostRequestList) Each ¶
func (l *AccessRequestPostRequestList) Each(f func(item *AccessRequestPostRequest) 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 (*AccessRequestPostRequestList) Empty ¶
func (l *AccessRequestPostRequestList) Empty() bool
Empty returns true if the list is empty.
func (*AccessRequestPostRequestList) Get ¶
func (l *AccessRequestPostRequestList) Get(i int) *AccessRequestPostRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*AccessRequestPostRequestList) Items ¶
func (l *AccessRequestPostRequestList) Items() []*AccessRequestPostRequest
Items returns the items of the list.
func (*AccessRequestPostRequestList) Len ¶
func (l *AccessRequestPostRequestList) Len() int
Len returns the length of the list.
func (*AccessRequestPostRequestList) Range ¶
func (l *AccessRequestPostRequestList) Range(f func(index int, item *AccessRequestPostRequest) 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 (*AccessRequestPostRequestList) SetHREF ¶
func (l *AccessRequestPostRequestList) SetHREF(href string)
Items sets the items of the list.
func (*AccessRequestPostRequestList) SetItems ¶
func (l *AccessRequestPostRequestList) SetItems(items []*AccessRequestPostRequest)
Items sets the items of the list.
func (*AccessRequestPostRequestList) SetLink ¶
func (l *AccessRequestPostRequestList) SetLink(link bool)
Items sets the items of the list.
func (*AccessRequestPostRequestList) Slice ¶
func (l *AccessRequestPostRequestList) Slice() []*AccessRequestPostRequest
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 AccessRequestPostRequestListBuilder ¶
type AccessRequestPostRequestListBuilder struct {
// contains filtered or unexported fields
}
AccessRequestPostRequestListBuilder contains the data and logic needed to build 'access_request_post_request' objects.
func NewAccessRequestPostRequestList ¶
func NewAccessRequestPostRequestList() *AccessRequestPostRequestListBuilder
NewAccessRequestPostRequestList creates a new builder of 'access_request_post_request' objects.
func (*AccessRequestPostRequestListBuilder) Build ¶
func (b *AccessRequestPostRequestListBuilder) Build() (list *AccessRequestPostRequestList, err error)
Build creates a list of 'access_request_post_request' objects using the configuration stored in the builder.
func (*AccessRequestPostRequestListBuilder) Copy ¶
func (b *AccessRequestPostRequestListBuilder) Copy(list *AccessRequestPostRequestList) *AccessRequestPostRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AccessRequestPostRequestListBuilder) Empty ¶
func (b *AccessRequestPostRequestListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*AccessRequestPostRequestListBuilder) Items ¶
func (b *AccessRequestPostRequestListBuilder) Items(values ...*AccessRequestPostRequestBuilder) *AccessRequestPostRequestListBuilder
Items sets the items of the list.
type AccessRequestState ¶
type AccessRequestState string
AccessRequestState represents the values of the 'access_request_state' enumerated type.
const ( // AccessRequestStateApproved AccessRequestState = "Approved" // AccessRequestStateDenied AccessRequestState = "Denied" // AccessRequestStateExpired AccessRequestState = "Expired" // AccessRequestStatePending AccessRequestState = "Pending" )
func ReadAccessRequestStateList ¶
func ReadAccessRequestStateList(iterator *jsoniter.Iterator) []AccessRequestState
ReadAccessRequestStateList reads list of values of the ”access_request_state' type from the given iterator.
func UnmarshalAccessRequestStateList ¶
func UnmarshalAccessRequestStateList(source interface{}) (items []AccessRequestState, err error)
UnmarshalAccessRequestStateList reads a list of values of the 'access_request_state' type from the given source, which can be a slice of bytes, a string or a reader.
type AccessRequestStatus ¶
type AccessRequestStatus struct {
// contains filtered or unexported fields
}
AccessRequestStatus represents the values of the 'access_request_status' type.
Representation of an access request status.
func ReadAccessRequestStatus ¶
func ReadAccessRequestStatus(iterator *jsoniter.Iterator) *AccessRequestStatus
ReadAccessRequestStatus reads a value of the 'access_request_status' type from the given iterator.
func ReadAccessRequestStatusList ¶
func ReadAccessRequestStatusList(iterator *jsoniter.Iterator) []*AccessRequestStatus
ReadAccessRequestStatusList reads list of values of the ”access_request_status' type from the given iterator.
func UnmarshalAccessRequestStatus ¶
func UnmarshalAccessRequestStatus(source interface{}) (object *AccessRequestStatus, err error)
UnmarshalAccessRequestStatus reads a value of the 'access_request_status' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAccessRequestStatusList ¶
func UnmarshalAccessRequestStatusList(source interface{}) (items []*AccessRequestStatus, err error)
UnmarshalAccessRequestStatusList reads a list of values of the 'access_request_status' type from the given source, which can be a slice of bytes, a string or a reader.
func (*AccessRequestStatus) Empty ¶
func (o *AccessRequestStatus) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*AccessRequestStatus) ExpiresAt ¶
func (o *AccessRequestStatus) ExpiresAt() time.Time
ExpiresAt returns the value of the 'expires_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Date and time when the access request will expire, using the format defined in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt).
func (*AccessRequestStatus) GetExpiresAt ¶
func (o *AccessRequestStatus) GetExpiresAt() (value time.Time, ok bool)
GetExpiresAt returns the value of the 'expires_at' attribute and a flag indicating if the attribute has a value.
Date and time when the access request will expire, using the format defined in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt).
func (*AccessRequestStatus) GetState ¶
func (o *AccessRequestStatus) GetState() (value AccessRequestState, ok bool)
GetState returns the value of the 'state' attribute and a flag indicating if the attribute has a value.
Current state of the Access Request.
func (*AccessRequestStatus) State ¶
func (o *AccessRequestStatus) State() AccessRequestState
State returns the value of the 'state' attribute, or the zero value of the type if the attribute doesn't have a value.
Current state of the Access Request.
type AccessRequestStatusBuilder ¶
type AccessRequestStatusBuilder struct {
// contains filtered or unexported fields
}
Representation of an access request status.
func NewAccessRequestStatus ¶
func NewAccessRequestStatus() *AccessRequestStatusBuilder
NewAccessRequestStatus creates a new builder of 'access_request_status' objects.
func (*AccessRequestStatusBuilder) Build ¶
func (b *AccessRequestStatusBuilder) Build() (object *AccessRequestStatus, err error)
Build creates a 'access_request_status' object using the configuration stored in the builder.
func (*AccessRequestStatusBuilder) Copy ¶
func (b *AccessRequestStatusBuilder) Copy(object *AccessRequestStatus) *AccessRequestStatusBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*AccessRequestStatusBuilder) Empty ¶
func (b *AccessRequestStatusBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*AccessRequestStatusBuilder) ExpiresAt ¶
func (b *AccessRequestStatusBuilder) ExpiresAt(value time.Time) *AccessRequestStatusBuilder
ExpiresAt sets the value of the 'expires_at' attribute to the given value.
func (*AccessRequestStatusBuilder) State ¶
func (b *AccessRequestStatusBuilder) State(value AccessRequestState) *AccessRequestStatusBuilder
State sets the value of the 'state' attribute to the given value.
Possible states to an access request status.
type AccessRequestStatusList ¶
type AccessRequestStatusList struct {
// contains filtered or unexported fields
}
AccessRequestStatusList is a list of values of the 'access_request_status' type.
func (*AccessRequestStatusList) Each ¶
func (l *AccessRequestStatusList) Each(f func(item *AccessRequestStatus) 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 (*AccessRequestStatusList) Empty ¶
func (l *AccessRequestStatusList) Empty() bool
Empty returns true if the list is empty.
func (*AccessRequestStatusList) Get ¶
func (l *AccessRequestStatusList) Get(i int) *AccessRequestStatus
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*AccessRequestStatusList) Items ¶
func (l *AccessRequestStatusList) Items() []*AccessRequestStatus
Items returns the items of the list.
func (*AccessRequestStatusList) Len ¶
func (l *AccessRequestStatusList) Len() int
Len returns the length of the list.
func (*AccessRequestStatusList) Range ¶
func (l *AccessRequestStatusList) Range(f func(index int, item *AccessRequestStatus) 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 (*AccessRequestStatusList) SetHREF ¶
func (l *AccessRequestStatusList) SetHREF(href string)
Items sets the items of the list.
func (*AccessRequestStatusList) SetItems ¶
func (l *AccessRequestStatusList) SetItems(items []*AccessRequestStatus)
Items sets the items of the list.
func (*AccessRequestStatusList) SetLink ¶
func (l *AccessRequestStatusList) SetLink(link bool)
Items sets the items of the list.
func (*AccessRequestStatusList) Slice ¶
func (l *AccessRequestStatusList) Slice() []*AccessRequestStatus
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 AccessRequestStatusListBuilder ¶
type AccessRequestStatusListBuilder struct {
// contains filtered or unexported fields
}
AccessRequestStatusListBuilder contains the data and logic needed to build 'access_request_status' objects.
func NewAccessRequestStatusList ¶
func NewAccessRequestStatusList() *AccessRequestStatusListBuilder
NewAccessRequestStatusList creates a new builder of 'access_request_status' objects.
func (*AccessRequestStatusListBuilder) Build ¶
func (b *AccessRequestStatusListBuilder) Build() (list *AccessRequestStatusList, err error)
Build creates a list of 'access_request_status' objects using the configuration stored in the builder.
func (*AccessRequestStatusListBuilder) Copy ¶
func (b *AccessRequestStatusListBuilder) Copy(list *AccessRequestStatusList) *AccessRequestStatusListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AccessRequestStatusListBuilder) Empty ¶
func (b *AccessRequestStatusListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*AccessRequestStatusListBuilder) Items ¶
func (b *AccessRequestStatusListBuilder) Items(values ...*AccessRequestStatusBuilder) *AccessRequestStatusListBuilder
Items sets the items of the list.
type Decision ¶
type Decision struct {
// contains filtered or unexported fields
}
Decision represents the values of the 'decision' type.
Representation of an decision.
func ReadDecision ¶
ReadDecision reads a value of the 'decision' type from the given iterator.
func ReadDecisionList ¶
ReadDecisionList reads list of values of the ”decision' type from the given iterator.
func UnmarshalDecision ¶
UnmarshalDecision reads a value of the 'decision' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalDecisionList ¶
UnmarshalDecisionList reads a list of values of the 'decision' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Decision) CreatedAt ¶
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Date and time when the decision was initially created, using the format defined in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt).
func (*Decision) DecidedBy ¶
DecidedBy returns the value of the 'decided_by' attribute, or the zero value of the type if the attribute doesn't have a value.
User that decided.
func (*Decision) Decision ¶
func (o *Decision) Decision() DecisionDecision
Decision returns the value of the 'decision' attribute, or the zero value of the type if the attribute doesn't have a value.
State of the decision.
func (*Decision) GetCreatedAt ¶
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
Date and time when the decision was initially created, using the format defined in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt).
func (*Decision) GetDecidedBy ¶
GetDecidedBy returns the value of the 'decided_by' attribute and a flag indicating if the attribute has a value.
User that decided.
func (*Decision) GetDecision ¶
func (o *Decision) GetDecision() (value DecisionDecision, ok bool)
GetDecision returns the value of the 'decision' attribute and a flag indicating if the attribute has a value.
State of the decision.
func (*Decision) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Decision) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Decision) GetJustification ¶
GetJustification returns the value of the 'justification' attribute and a flag indicating if the attribute has a value.
Justification of the decision.
func (*Decision) GetUpdatedAt ¶
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
Date and time when the decision was lastly updated, using the format defined in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt).
func (*Decision) Justification ¶
Justification returns the value of the 'justification' attribute, or the zero value of the type if the attribute doesn't have a value.
Justification of the decision.
func (*Decision) UpdatedAt ¶
UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Date and time when the decision was lastly updated, using the format defined in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt).
type DecisionBuilder ¶
type DecisionBuilder struct {
// contains filtered or unexported fields
}
Representation of an decision.
func NewDecision ¶
func NewDecision() *DecisionBuilder
NewDecision creates a new builder of 'decision' objects.
func (*DecisionBuilder) Build ¶
func (b *DecisionBuilder) Build() (object *Decision, err error)
Build creates a 'decision' object using the configuration stored in the builder.
func (*DecisionBuilder) Copy ¶
func (b *DecisionBuilder) Copy(object *Decision) *DecisionBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*DecisionBuilder) CreatedAt ¶
func (b *DecisionBuilder) CreatedAt(value time.Time) *DecisionBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*DecisionBuilder) DecidedBy ¶
func (b *DecisionBuilder) DecidedBy(value string) *DecisionBuilder
DecidedBy sets the value of the 'decided_by' attribute to the given value.
func (*DecisionBuilder) Decision ¶
func (b *DecisionBuilder) Decision(value DecisionDecision) *DecisionBuilder
Decision sets the value of the 'decision' attribute to the given value.
Possible decisions to a decision status.
func (*DecisionBuilder) Empty ¶
func (b *DecisionBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*DecisionBuilder) HREF ¶
func (b *DecisionBuilder) HREF(value string) *DecisionBuilder
HREF sets the link to the object.
func (*DecisionBuilder) ID ¶
func (b *DecisionBuilder) ID(value string) *DecisionBuilder
ID sets the identifier of the object.
func (*DecisionBuilder) Justification ¶
func (b *DecisionBuilder) Justification(value string) *DecisionBuilder
Justification sets the value of the 'justification' attribute to the given value.
func (*DecisionBuilder) Link ¶
func (b *DecisionBuilder) Link(value bool) *DecisionBuilder
Link sets the flag that indicates if this is a link.
func (*DecisionBuilder) UpdatedAt ¶
func (b *DecisionBuilder) UpdatedAt(value time.Time) *DecisionBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type DecisionDecision ¶
type DecisionDecision string
DecisionDecision represents the values of the 'decision_decision' enumerated type.
const ( // DecisionDecisionApproved DecisionDecision = "Approved" // DecisionDecisionDenied DecisionDecision = "Denied" // DecisionDecisionExpired DecisionDecision = "Expired" )
func ReadDecisionDecisionList ¶
func ReadDecisionDecisionList(iterator *jsoniter.Iterator) []DecisionDecision
ReadDecisionDecisionList reads list of values of the ”decision_decision' type from the given iterator.
func UnmarshalDecisionDecisionList ¶
func UnmarshalDecisionDecisionList(source interface{}) (items []DecisionDecision, err error)
UnmarshalDecisionDecisionList reads a list of values of the 'decision_decision' type from the given source, which can be a slice of bytes, a string or a reader.
type DecisionList ¶
type DecisionList struct {
// contains filtered or unexported fields
}
DecisionList is a list of values of the 'decision' type.
func (*DecisionList) Each ¶
func (l *DecisionList) Each(f func(item *Decision) 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 (*DecisionList) Empty ¶
func (l *DecisionList) Empty() bool
Empty returns true if the list is empty.
func (*DecisionList) Get ¶
func (l *DecisionList) Get(i int) *Decision
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*DecisionList) GetHREF ¶
func (l *DecisionList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*DecisionList) Items ¶
func (l *DecisionList) Items() []*Decision
Items returns the items of the list.
func (*DecisionList) Kind ¶
func (l *DecisionList) Kind() string
Kind returns the name of the type of the object.
func (*DecisionList) Link ¶
func (l *DecisionList) Link() bool
Link returns true iif this is a link.
func (*DecisionList) Range ¶
func (l *DecisionList) Range(f func(index int, item *Decision) 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 (*DecisionList) SetHREF ¶
func (l *DecisionList) SetHREF(href string)
Items sets the items of the list.
func (*DecisionList) SetItems ¶
func (l *DecisionList) SetItems(items []*Decision)
Items sets the items of the list.
func (*DecisionList) SetLink ¶
func (l *DecisionList) SetLink(link bool)
Items sets the items of the list.
func (*DecisionList) Slice ¶
func (l *DecisionList) Slice() []*Decision
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 DecisionListBuilder ¶
type DecisionListBuilder struct {
// contains filtered or unexported fields
}
DecisionListBuilder contains the data and logic needed to build 'decision' objects.
func NewDecisionList ¶
func NewDecisionList() *DecisionListBuilder
NewDecisionList creates a new builder of 'decision' objects.
func (*DecisionListBuilder) Build ¶
func (b *DecisionListBuilder) Build() (list *DecisionList, err error)
Build creates a list of 'decision' objects using the configuration stored in the builder.
func (*DecisionListBuilder) Copy ¶
func (b *DecisionListBuilder) Copy(list *DecisionList) *DecisionListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*DecisionListBuilder) Empty ¶
func (b *DecisionListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*DecisionListBuilder) Items ¶
func (b *DecisionListBuilder) Items(values ...*DecisionBuilder) *DecisionListBuilder
Items sets the items of the list.
type Metadata ¶
type Metadata struct {
// contains filtered or unexported fields
}
Metadata contains the version metadata.
func UnmarshalMetadata ¶
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 ¶
GetServerVersion returns the value of the server version and a flag indicating if the attribute has a value.
func (*Metadata) ServerVersion ¶
ServerVersion returns the version of the server.
Source Files
¶
- access_protection_builder.go
- access_protection_list_builder.go
- access_protection_list_type_json.go
- access_protection_type.go
- access_protection_type_json.go
- access_request_builder.go
- access_request_list_builder.go
- access_request_list_type_json.go
- access_request_post_request_builder.go
- access_request_post_request_list_builder.go
- access_request_post_request_list_type_json.go
- access_request_post_request_type.go
- access_request_post_request_type_json.go
- access_request_state_list_type_json.go
- access_request_state_type.go
- access_request_status_builder.go
- access_request_status_list_builder.go
- access_request_status_list_type_json.go
- access_request_status_type.go
- access_request_status_type_json.go
- access_request_type.go
- access_request_type_json.go
- boolean_list_type_json.go
- date_list_type_json.go
- decision_builder.go
- decision_decision_list_type_json.go
- decision_decision_type.go
- decision_list_builder.go
- decision_list_type_json.go
- decision_type.go
- decision_type_json.go
- float_list_type_json.go
- integer_list_type_json.go
- interface_list_type_json.go
- long_list_type_json.go
- metadata_reader.go
- metadata_type.go
- string_list_type_json.go