github.com/yaegashi/msgraph.go@v0.1.4/beta/ModelPolicy.go (about)

     1  // Code generated by msgraph.go/gen DO NOT EDIT.
     2  
     3  package msgraph
     4  
     5  import "time"
     6  
     7  // Policy undocumented
     8  type Policy struct {
     9  	// DirectoryObject is the base model of Policy
    10  	DirectoryObject
    11  	// AlternativeIdentifier undocumented
    12  	AlternativeIdentifier *string `json:"alternativeIdentifier,omitempty"`
    13  	// Definition undocumented
    14  	Definition []string `json:"definition,omitempty"`
    15  	// DisplayName undocumented
    16  	DisplayName *string `json:"displayName,omitempty"`
    17  	// IsOrganizationDefault undocumented
    18  	IsOrganizationDefault *bool `json:"isOrganizationDefault,omitempty"`
    19  	// KeyCredentials undocumented
    20  	KeyCredentials []KeyCredential `json:"keyCredentials,omitempty"`
    21  	// Type undocumented
    22  	Type *string `json:"type,omitempty"`
    23  	// AppliesTo undocumented
    24  	AppliesTo []DirectoryObject `json:"appliesTo,omitempty"`
    25  }
    26  
    27  // PolicySet A class containing the properties used for PolicySet.
    28  type PolicySet struct {
    29  	// Entity is the base model of PolicySet
    30  	Entity
    31  	// CreatedDateTime Creation time of the PolicySet.
    32  	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
    33  	// LastModifiedDateTime Last modified time of the PolicySet.
    34  	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
    35  	// DisplayName DisplayName of the PolicySet.
    36  	DisplayName *string `json:"displayName,omitempty"`
    37  	// Description Description of the PolicySet.
    38  	Description *string `json:"description,omitempty"`
    39  	// Status Validation/assignment status of the PolicySet.
    40  	Status *PolicySetStatus `json:"status,omitempty"`
    41  	// ErrorCode Error code if any occured.
    42  	ErrorCode *ErrorCode `json:"errorCode,omitempty"`
    43  	// GuidedDeploymentTags Tags of the guided deployment
    44  	GuidedDeploymentTags []string `json:"guidedDeploymentTags,omitempty"`
    45  	// RoleScopeTags RoleScopeTags of the PolicySet
    46  	RoleScopeTags []string `json:"roleScopeTags,omitempty"`
    47  	// Assignments undocumented
    48  	Assignments []PolicySetAssignment `json:"assignments,omitempty"`
    49  	// Items undocumented
    50  	Items []PolicySetItem `json:"items,omitempty"`
    51  }
    52  
    53  // PolicySetAssignment A class containing the properties used for PolicySet Assignment.
    54  type PolicySetAssignment struct {
    55  	// Entity is the base model of PolicySetAssignment
    56  	Entity
    57  	// LastModifiedDateTime Last modified time of the PolicySetAssignment.
    58  	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
    59  	// Target The target group of PolicySetAssignment
    60  	Target *DeviceAndAppManagementAssignmentTarget `json:"target,omitempty"`
    61  }
    62  
    63  // PolicySetItem A class containing the properties used for PolicySet Item.
    64  type PolicySetItem struct {
    65  	// Entity is the base model of PolicySetItem
    66  	Entity
    67  	// CreatedDateTime Creation time of the PolicySetItem.
    68  	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
    69  	// LastModifiedDateTime Last modified time of the PolicySetItem.
    70  	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
    71  	// PayloadID PayloadId of the PolicySetItem.
    72  	PayloadID *string `json:"payloadId,omitempty"`
    73  	// ItemType policySetType of the PolicySetItem.
    74  	ItemType *string `json:"itemType,omitempty"`
    75  	// DisplayName DisplayName of the PolicySetItem.
    76  	DisplayName *string `json:"displayName,omitempty"`
    77  	// Status Status of the PolicySetItem.
    78  	Status *PolicySetStatus `json:"status,omitempty"`
    79  	// ErrorCode Error code if any occured.
    80  	ErrorCode *ErrorCode `json:"errorCode,omitempty"`
    81  	// GuidedDeploymentTags Tags of the guided deployment
    82  	GuidedDeploymentTags []string `json:"guidedDeploymentTags,omitempty"`
    83  }