Class TemplateParameter
- java.lang.Object
-
- odata.msgraph.client.beta.managed.tenants.complex.TemplateParameter
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class TemplateParameter extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTemplateParameter.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected Stringdescriptionprotected StringdisplayNameprotected StringjsonAllowedValuesprotected StringjsonDefaultValueprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected ManagementParameterValueTypevalueType
-
Constructor Summary
Constructors Modifier Constructor Description protectedTemplateParameter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TemplateParameter.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getDescription()Optional<String>getDisplayName()Optional<String>getJsonAllowedValues()Optional<String>getJsonDefaultValue()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<ManagementParameterValueType>getValueType()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()TemplateParameterwithDescription(String description)TemplateParameterwithDisplayName(String displayName)TemplateParameterwithJsonAllowedValues(String jsonAllowedValues)TemplateParameterwithJsonDefaultValue(String jsonDefaultValue)TemplateParameterwithUnmappedField(String name, String value)TemplateParameterwithValueType(ManagementParameterValueType valueType)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
description
protected String description
-
displayName
protected String displayName
-
jsonAllowedValues
protected String jsonAllowedValues
-
jsonDefaultValue
protected String jsonDefaultValue
-
valueType
protected ManagementParameterValueType valueType
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withDescription
public TemplateParameter withDescription(String description)
-
withDisplayName
public TemplateParameter withDisplayName(String displayName)
-
withJsonAllowedValues
public TemplateParameter withJsonAllowedValues(String jsonAllowedValues)
-
withJsonDefaultValue
public TemplateParameter withJsonDefaultValue(String jsonDefaultValue)
-
getValueType
public Optional<ManagementParameterValueType> getValueType()
-
withValueType
public TemplateParameter withValueType(ManagementParameterValueType valueType)
-
withUnmappedField
public TemplateParameter withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static TemplateParameter.Builder builder()
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
-
-