Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct {
// details
Details interface{} `json:"details,omitempty" yaml:"details,omitempty"`
// error
Error string `json:"error,omitempty" yaml:"error,omitempty"`
// error code
ErrorCode string `json:"error_code,omitempty" yaml:"error_code,omitempty"`
// status code
StatusCode int64 `json:"status_code,omitempty" yaml:"status_code,omitempty"`
}
Error HTTP error response
swagger:model Error
func (*Error) ContextValidate ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type License ¶
type License struct {
// License end date
// Example: 2023-03-01T09:02:27.127932Z
// Format: date-time
EndDate strfmt.DateTime `json:"end_date,omitempty" yaml:"end_date,omitempty"`
// Is enforcement enabled
EnforcementEnabled bool `json:"enforcement_enabled,omitempty" yaml:"enforcement_enabled,omitempty"`
// Is enterprise IDPs capability enabled
HasEnterpriseIdpsCapability bool `json:"has_enterprise_idps_capability,omitempty" yaml:"has_enterprise_idps_capability,omitempty"`
// License start date
// Example: 2023-03-01T09:02:27.127932Z
// Format: date-time
StartDate strfmt.DateTime `json:"start_date,omitempty" yaml:"start_date,omitempty"`
}
License license
swagger:model License
func (*License) ContextValidate ¶
ContextValidate validates this license based on context it is used
func (*License) MarshalBinary ¶
MarshalBinary interface implementation
func (*License) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type MetricUsage ¶
type MetricUsage struct {
// limit
Limit int64 `json:"limit,omitempty" yaml:"limit,omitempty"`
// used
Used int64 `json:"used,omitempty" yaml:"used,omitempty"`
}
MetricUsage metric usage
swagger:model MetricUsage
func (*MetricUsage) ContextValidate ¶
ContextValidate validates this metric usage based on context it is used
func (*MetricUsage) MarshalBinary ¶
func (m *MetricUsage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MetricUsage) UnmarshalBinary ¶
func (m *MetricUsage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Usage ¶
type Usage struct {
// enterprise idps
EnterpriseIdps *MetricUsage `json:"enterprise_idps,omitempty" yaml:"enterprise_idps,omitempty"`
// monthly tokens issued
MonthlyTokensIssued *MetricUsage `json:"monthly_tokens_issued,omitempty" yaml:"monthly_tokens_issued,omitempty"`
}
Usage usage
swagger:model Usage
func (*Usage) ContextValidate ¶
ContextValidate validate this usage based on the context it is used
func (*Usage) MarshalBinary ¶
MarshalBinary interface implementation
func (*Usage) UnmarshalBinary ¶
UnmarshalBinary interface implementation