validateproperties

package
v0.44.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateValidatePropertiesPostRequestBodyFromDiscriminatorValue added in v0.24.0

CreateValidatePropertiesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

Types

type ValidatePropertiesPostRequestBody added in v0.24.0

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

ValidatePropertiesPostRequestBody provides operations to call the validateProperties method.

func NewValidatePropertiesPostRequestBody added in v0.24.0

func NewValidatePropertiesPostRequestBody() *ValidatePropertiesPostRequestBody

NewValidatePropertiesPostRequestBody instantiates a new validatePropertiesPostRequestBody and sets the default values.

func (*ValidatePropertiesPostRequestBody) GetAdditionalData added in v0.24.0

func (m *ValidatePropertiesPostRequestBody) GetAdditionalData() map[string]interface{}

GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ValidatePropertiesPostRequestBody) GetDisplayName added in v0.24.0

func (m *ValidatePropertiesPostRequestBody) GetDisplayName() *string

GetDisplayName gets the displayName property value. The displayName property

func (*ValidatePropertiesPostRequestBody) GetEntityType added in v0.24.0

func (m *ValidatePropertiesPostRequestBody) GetEntityType() *string

GetEntityType gets the entityType property value. The entityType property

func (*ValidatePropertiesPostRequestBody) GetFieldDeserializers added in v0.24.0

GetFieldDeserializers the deserialization information for the current model

func (*ValidatePropertiesPostRequestBody) GetMailNickname added in v0.24.0

func (m *ValidatePropertiesPostRequestBody) GetMailNickname() *string

GetMailNickname gets the mailNickname property value. The mailNickname property

func (*ValidatePropertiesPostRequestBody) GetOnBehalfOfUserId added in v0.24.0

func (m *ValidatePropertiesPostRequestBody) GetOnBehalfOfUserId() *string

GetOnBehalfOfUserId gets the onBehalfOfUserId property value. The onBehalfOfUserId property

func (*ValidatePropertiesPostRequestBody) Serialize added in v0.24.0

Serialize serializes information the current object

func (*ValidatePropertiesPostRequestBody) SetAdditionalData added in v0.24.0

func (m *ValidatePropertiesPostRequestBody) SetAdditionalData(value map[string]interface{})

SetAdditionalData sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ValidatePropertiesPostRequestBody) SetDisplayName added in v0.24.0

func (m *ValidatePropertiesPostRequestBody) SetDisplayName(value *string)

SetDisplayName sets the displayName property value. The displayName property

func (*ValidatePropertiesPostRequestBody) SetEntityType added in v0.24.0

func (m *ValidatePropertiesPostRequestBody) SetEntityType(value *string)

SetEntityType sets the entityType property value. The entityType property

func (*ValidatePropertiesPostRequestBody) SetMailNickname added in v0.24.0

func (m *ValidatePropertiesPostRequestBody) SetMailNickname(value *string)

SetMailNickname sets the mailNickname property value. The mailNickname property

func (*ValidatePropertiesPostRequestBody) SetOnBehalfOfUserId added in v0.24.0

func (m *ValidatePropertiesPostRequestBody) SetOnBehalfOfUserId(value *string)

SetOnBehalfOfUserId sets the onBehalfOfUserId property value. The onBehalfOfUserId property

type ValidatePropertiesPostRequestBodyable added in v0.24.0

type ValidatePropertiesPostRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetDisplayName() *string
	GetEntityType() *string
	GetMailNickname() *string
	GetOnBehalfOfUserId() *string
	SetDisplayName(value *string)
	SetEntityType(value *string)
	SetMailNickname(value *string)
	SetOnBehalfOfUserId(value *string)
}

ValidatePropertiesPostRequestBodyable

type ValidatePropertiesRequestBuilder

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

ValidatePropertiesRequestBuilder provides operations to call the validateProperties method.

func NewValidatePropertiesRequestBuilder

NewValidatePropertiesRequestBuilder instantiates a new ValidatePropertiesRequestBuilder and sets the default values.

func NewValidatePropertiesRequestBuilderInternal

func NewValidatePropertiesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ValidatePropertiesRequestBuilder

NewValidatePropertiesRequestBuilderInternal instantiates a new ValidatePropertiesRequestBuilder and sets the default values.

func (*ValidatePropertiesRequestBuilder) CreatePostRequestInformation

CreatePostRequestInformation validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy.

func (*ValidatePropertiesRequestBuilder) Post

Post validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy.

type ValidatePropertiesRequestBuilderPostRequestConfiguration added in v0.22.0

type ValidatePropertiesRequestBuilderPostRequestConfiguration struct {
	// Request headers
	Headers map[string]string
	// Request options
	Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}

ValidatePropertiesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL