Package odata.msgraph.client.beta.entity
Class AndroidForWorkAppConfigurationSchema
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.AndroidForWorkAppConfigurationSchema
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AndroidForWorkAppConfigurationSchema extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Schema describing an Android for Work application's custom configurations.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAndroidForWorkAppConfigurationSchema.Builder
-
Field Summary
Fields Modifier and Type Field Description protected byte[]exampleJsonprotected List<AndroidForWorkAppConfigurationSchemaItem>schemaItemsprotected StringschemaItemsNextLink-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAndroidForWorkAppConfigurationSchema()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AndroidForWorkAppConfigurationSchema.BuilderbuilderAndroidForWorkAppConfigurationSchema()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<byte[]>getExampleJson()“UTF8 encoded byte array containing example JSON string conforming to this schema that demonstrates how to set the configuration for this app”com.github.davidmoten.odata.client.CollectionPage<AndroidForWorkAppConfigurationSchemaItem>getSchemaItems()“Collection of items each representing a named configuration option in the schema”com.github.davidmoten.odata.client.CollectionPage<AndroidForWorkAppConfigurationSchemaItem>getSchemaItems(com.github.davidmoten.odata.client.HttpRequestOptions options)“Collection of items each representing a named configuration option in the schema”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()AndroidForWorkAppConfigurationSchemapatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)AndroidForWorkAppConfigurationSchemaput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()AndroidForWorkAppConfigurationSchemawithExampleJson(byte[] exampleJson)Returns an immutable copy ofthiswith just theexampleJsonfield changed.AndroidForWorkAppConfigurationSchemawithSchemaItems(List<AndroidForWorkAppConfigurationSchemaItem> schemaItems)Returns an immutable copy ofthiswith just theschemaItemsfield changed.AndroidForWorkAppConfigurationSchemawithUnmappedField(String name, String value)
-
-
-
Field Detail
-
exampleJson
protected byte[] exampleJson
-
schemaItems
protected List<AndroidForWorkAppConfigurationSchemaItem> schemaItems
-
schemaItemsNextLink
protected String schemaItemsNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderAndroidForWorkAppConfigurationSchema
public static AndroidForWorkAppConfigurationSchema.Builder builderAndroidForWorkAppConfigurationSchema()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getExampleJson
public Optional<byte[]> getExampleJson()
“UTF8 encoded byte array containing example JSON string conforming to this schema that demonstrates how to set the configuration for this app”- Returns:
- property exampleJson
-
withExampleJson
public AndroidForWorkAppConfigurationSchema withExampleJson(byte[] exampleJson)
Returns an immutable copy ofthiswith just theexampleJsonfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“UTF8 encoded byte array containing example JSON string conforming to this schema that demonstrates how to set the configuration for this app”
- Parameters:
exampleJson- new value ofexampleJsonfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theexampleJsonfield changed
-
getSchemaItems
public com.github.davidmoten.odata.client.CollectionPage<AndroidForWorkAppConfigurationSchemaItem> getSchemaItems()
“Collection of items each representing a named configuration option in the schema”- Returns:
- property schemaItems
-
withSchemaItems
public AndroidForWorkAppConfigurationSchema withSchemaItems(List<AndroidForWorkAppConfigurationSchemaItem> schemaItems)
Returns an immutable copy ofthiswith just theschemaItemsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Collection of items each representing a named configuration option in the schema”
- Parameters:
schemaItems- new value ofschemaItemsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theschemaItemsfield changed
-
getSchemaItems
public com.github.davidmoten.odata.client.CollectionPage<AndroidForWorkAppConfigurationSchemaItem> getSchemaItems(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Collection of items each representing a named configuration option in the schema”- Parameters:
options- specify connect and read timeouts- Returns:
- property schemaItems
-
withUnmappedField
public AndroidForWorkAppConfigurationSchema withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public AndroidForWorkAppConfigurationSchema patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public AndroidForWorkAppConfigurationSchema put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-