Documentation
¶
Index ¶
- type CustomAbacConfiguration
- func (o CustomAbacConfiguration) MarshalJSON() ([]byte, error)
- func (o *CustomAbacConfiguration) SetCustomAbacId(v *string) *CustomAbacConfiguration
- func (o *CustomAbacConfiguration) SetID(v *string) *CustomAbacConfiguration
- func (o *CustomAbacConfiguration) SetName(v *string) *CustomAbacConfiguration
- func (o *CustomAbacConfiguration) SetRoles(v []*Role) *CustomAbacConfiguration
- type Role
- type Service
- type ServiceOp
- func (s *ServiceOp) CreateCustomAbacConfiguration(ctx context.Context, input *CustomAbacConfiguration) (*CustomAbacConfiguration, error)
- func (s *ServiceOp) DeleteCustomAbacConfiguration(ctx context.Context, id string) (*commons.EmptyResponse, error)
- func (s *ServiceOp) ListCustomAbacConfigurations(ctx context.Context, customAbacConfigurationId *string, ...) ([]*CustomAbacConfiguration, error)
- func (s *ServiceOp) ReadCustomAbacConfiguration(ctx context.Context, customAbacConfigurationId string) (*CustomAbacConfiguration, error)
- func (s *ServiceOp) UpdateCustomAbacConfiguration(ctx context.Context, id string, input *CustomAbacConfiguration) (*CustomAbacConfiguration, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomAbacConfiguration ¶
type CustomAbacConfiguration struct { ID *string `json:"id,omitempty"` // read-only CustomAbacId *string `json:"customAbacId,omitempty"` Name *string `json:"name,omitempty"` Roles []*Role `json:"roles,omitempty"` // contains filtered or unexported fields }
func (CustomAbacConfiguration) MarshalJSON ¶
func (o CustomAbacConfiguration) MarshalJSON() ([]byte, error)
func (*CustomAbacConfiguration) SetCustomAbacId ¶
func (o *CustomAbacConfiguration) SetCustomAbacId(v *string) *CustomAbacConfiguration
func (*CustomAbacConfiguration) SetID ¶
func (o *CustomAbacConfiguration) SetID(v *string) *CustomAbacConfiguration
func (*CustomAbacConfiguration) SetName ¶
func (o *CustomAbacConfiguration) SetName(v *string) *CustomAbacConfiguration
func (*CustomAbacConfiguration) SetRoles ¶
func (o *CustomAbacConfiguration) SetRoles(v []*Role) *CustomAbacConfiguration
type Role ¶
type Role struct { OrgId *string `json:"orgId,omitempty"` OrgRole *string `json:"orgRole,omitempty"` TeamIds []*string `json:"teamIds,omitempty"` // contains filtered or unexported fields }
func (Role) MarshalJSON ¶
func (*Role) SetOrgRole ¶
func (*Role) SetTeamIds ¶
type Service ¶
type Service interface { CreateCustomAbacConfiguration(context.Context, *CustomAbacConfiguration) (*CustomAbacConfiguration, error) ListCustomAbacConfigurations(context.Context, *string, *string) ([]*CustomAbacConfiguration, error) ReadCustomAbacConfiguration(context.Context, string) (*CustomAbacConfiguration, error) UpdateCustomAbacConfiguration(context.Context, string, *CustomAbacConfiguration) (*CustomAbacConfiguration, error) DeleteCustomAbacConfiguration(context.Context, string) (*commons.EmptyResponse, error) }
Service provides the API operation methods for making requests to endpoints of the ControlMonkey API. See this package's package overview docs for details on the service.
type ServiceOp ¶
func (*ServiceOp) CreateCustomAbacConfiguration ¶
func (s *ServiceOp) CreateCustomAbacConfiguration(ctx context.Context, input *CustomAbacConfiguration) (*CustomAbacConfiguration, error)
func (*ServiceOp) DeleteCustomAbacConfiguration ¶
func (*ServiceOp) ListCustomAbacConfigurations ¶
func (*ServiceOp) ReadCustomAbacConfiguration ¶
func (*ServiceOp) UpdateCustomAbacConfiguration ¶
func (s *ServiceOp) UpdateCustomAbacConfiguration(ctx context.Context, id string, input *CustomAbacConfiguration) (*CustomAbacConfiguration, error)
Click to show internal directories.
Click to hide internal directories.