|
| 1 | +// Template Source: BaseEntity.java.tt |
| 2 | +// ------------------------------------------------------------------------------ |
| 3 | +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. |
| 4 | +// ------------------------------------------------------------------------------ |
| 5 | + |
| 6 | +package com.microsoft.graph.models; |
| 7 | +import com.microsoft.graph.serializer.ISerializer; |
| 8 | +import com.microsoft.graph.serializer.IJsonBackedObject; |
| 9 | +import com.microsoft.graph.serializer.AdditionalDataManager; |
| 10 | +import java.util.EnumSet; |
| 11 | +import com.microsoft.graph.http.BaseCollectionPage; |
| 12 | +import com.microsoft.graph.models.StringKeyStringValuePair; |
| 13 | +import com.microsoft.graph.models.AttributeDefinitionMetadataEntry; |
| 14 | +import com.microsoft.graph.models.Mutability; |
| 15 | +import com.microsoft.graph.models.ReferencedObject; |
| 16 | +import com.microsoft.graph.models.AttributeType; |
| 17 | + |
| 18 | + |
| 19 | +import com.google.gson.JsonObject; |
| 20 | +import com.google.gson.annotations.SerializedName; |
| 21 | +import com.google.gson.annotations.Expose; |
| 22 | +import javax.annotation.Nullable; |
| 23 | +import javax.annotation.Nonnull; |
| 24 | + |
| 25 | +// **NOTE** This file was generated by a tool and any changes will be overwritten. |
| 26 | + |
| 27 | +/** |
| 28 | + * The class for the Attribute Definition. |
| 29 | + */ |
| 30 | +public class AttributeDefinition implements IJsonBackedObject { |
| 31 | + |
| 32 | + /** the OData type of the object as returned by the service */ |
| 33 | + @SerializedName("@odata.type") |
| 34 | + @Expose |
| 35 | + @Nullable |
| 36 | + public String oDataType; |
| 37 | + |
| 38 | + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); |
| 39 | + |
| 40 | + @Override |
| 41 | + @Nonnull |
| 42 | + public final AdditionalDataManager additionalDataManager() { |
| 43 | + return additionalDataManager; |
| 44 | + } |
| 45 | + |
| 46 | + /** |
| 47 | + * The Anchor. |
| 48 | + * |
| 49 | + */ |
| 50 | + @SerializedName(value = "anchor", alternate = {"Anchor"}) |
| 51 | + @Expose |
| 52 | + @Nullable |
| 53 | + public Boolean anchor; |
| 54 | + |
| 55 | + /** |
| 56 | + * The Api Expressions. |
| 57 | + * |
| 58 | + */ |
| 59 | + @SerializedName(value = "apiExpressions", alternate = {"ApiExpressions"}) |
| 60 | + @Expose |
| 61 | + @Nullable |
| 62 | + public java.util.List<StringKeyStringValuePair> apiExpressions; |
| 63 | + |
| 64 | + /** |
| 65 | + * The Case Exact. |
| 66 | + * |
| 67 | + */ |
| 68 | + @SerializedName(value = "caseExact", alternate = {"CaseExact"}) |
| 69 | + @Expose |
| 70 | + @Nullable |
| 71 | + public Boolean caseExact; |
| 72 | + |
| 73 | + /** |
| 74 | + * The Default Value. |
| 75 | + * |
| 76 | + */ |
| 77 | + @SerializedName(value = "defaultValue", alternate = {"DefaultValue"}) |
| 78 | + @Expose |
| 79 | + @Nullable |
| 80 | + public String defaultValue; |
| 81 | + |
| 82 | + /** |
| 83 | + * The Flow Null Values. |
| 84 | + * |
| 85 | + */ |
| 86 | + @SerializedName(value = "flowNullValues", alternate = {"FlowNullValues"}) |
| 87 | + @Expose |
| 88 | + @Nullable |
| 89 | + public Boolean flowNullValues; |
| 90 | + |
| 91 | + /** |
| 92 | + * The Metadata. |
| 93 | + * |
| 94 | + */ |
| 95 | + @SerializedName(value = "metadata", alternate = {"Metadata"}) |
| 96 | + @Expose |
| 97 | + @Nullable |
| 98 | + public java.util.List<AttributeDefinitionMetadataEntry> metadata; |
| 99 | + |
| 100 | + /** |
| 101 | + * The Multivalued. |
| 102 | + * |
| 103 | + */ |
| 104 | + @SerializedName(value = "multivalued", alternate = {"Multivalued"}) |
| 105 | + @Expose |
| 106 | + @Nullable |
| 107 | + public Boolean multivalued; |
| 108 | + |
| 109 | + /** |
| 110 | + * The Mutability. |
| 111 | + * |
| 112 | + */ |
| 113 | + @SerializedName(value = "mutability", alternate = {"Mutability"}) |
| 114 | + @Expose |
| 115 | + @Nullable |
| 116 | + public Mutability mutability; |
| 117 | + |
| 118 | + /** |
| 119 | + * The Name. |
| 120 | + * |
| 121 | + */ |
| 122 | + @SerializedName(value = "name", alternate = {"Name"}) |
| 123 | + @Expose |
| 124 | + @Nullable |
| 125 | + public String name; |
| 126 | + |
| 127 | + /** |
| 128 | + * The Referenced Objects. |
| 129 | + * |
| 130 | + */ |
| 131 | + @SerializedName(value = "referencedObjects", alternate = {"ReferencedObjects"}) |
| 132 | + @Expose |
| 133 | + @Nullable |
| 134 | + public java.util.List<ReferencedObject> referencedObjects; |
| 135 | + |
| 136 | + /** |
| 137 | + * The Required. |
| 138 | + * |
| 139 | + */ |
| 140 | + @SerializedName(value = "required", alternate = {"Required"}) |
| 141 | + @Expose |
| 142 | + @Nullable |
| 143 | + public Boolean required; |
| 144 | + |
| 145 | + /** |
| 146 | + * The Type. |
| 147 | + * |
| 148 | + */ |
| 149 | + @SerializedName(value = "type", alternate = {"Type"}) |
| 150 | + @Expose |
| 151 | + @Nullable |
| 152 | + public AttributeType type; |
| 153 | + |
| 154 | + |
| 155 | + /** |
| 156 | + * Sets the raw JSON object |
| 157 | + * |
| 158 | + * @param serializer the serializer |
| 159 | + * @param json the JSON object to set this object to |
| 160 | + */ |
| 161 | + public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) { |
| 162 | + |
| 163 | + } |
| 164 | +} |
0 commit comments