Skip to content

RoleBuilder🔗

Constructor🔗

func NewRoleBuilder() *RoleBuilder

Methods🔗

Build🔗

Builds the object.

func (builder *RoleBuilder) Build() (Role, error)

Description🔗

Role description

func (builder *RoleBuilder) Description(description string) *RoleBuilder

DisplayName🔗

Optional display

func (builder *RoleBuilder) DisplayName(displayName string) *RoleBuilder

GroupName🔗

Name of the team.

func (builder *RoleBuilder) GroupName(groupName string) *RoleBuilder

Hidden🔗

Do not show this role

func (builder *RoleBuilder) Hidden(hidden bool) *RoleBuilder

Name🔗

The role identifier managed:builtins:editor:permissions

func (builder *RoleBuilder) Name(name string) *RoleBuilder

See also🔗