Era.Common.NetworkMessage.ConsoleApi.Policies.RpcSetDynamicGroupPoliciesRequest

Description

Assigns policies to a dynamic group. Previously assigned policies will be removed, unless they are present in this request.

Properties

Name JsonSchemaType Description
groupUuid reference to Era.Common.DataDefinition.Common.Uuid UUID of the dynamic group, to which the policies should be assigned.
policiesUuids array of references to Era.Common.DataDefinition.Common.Uuid UUIDs of the policies to be assigned. The order of the policies will be respected, first policies in this list will be applied first.
versionGuard integer Version guard for the dynamic group, to which the policies are assigned.

Dual message (request/response)

Era.Common.NetworkMessage.ConsoleApi.Policies.RpcSetDynamicGroupPoliciesResponse

Referenced in messages

No references.

JsonSchema

{
    "title": "Era.Common.NetworkMessage.ConsoleApi.Policies.RpcSetDynamicGroupPoliciesRequest",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.NetworkMessage.ConsoleApi.Policies.RpcSetDynamicGroupPoliciesRequest"
    ],
    "properties": {
        "Era.Common.NetworkMessage.ConsoleApi.Policies.RpcSetDynamicGroupPoliciesRequest": {
            "$ref": "#/definitions/RpcSetDynamicGroupPoliciesRequest"
        }
    },
    "definitions": {
        "RpcSetDynamicGroupPoliciesRequest": {
            "additionalProperties": false,
            "required": [
                "groupUuid",
                "versionGuard"
            ],
            "type": "object",
            "properties": {
                "groupUuid": {
                    "$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
                },
                "policiesUuids": {
                    "type": "array",
                    "items": [
                        {
                            "$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
                        }
                    ]
                },
                "versionGuard": {
                    "type": "integer"
                }
            }
        }
    }
}