Class ClientUserAgent
- java.lang.Object
-
- odata.msgraph.client.callrecords.complex.UserAgent
-
- odata.msgraph.client.callrecords.complex.ClientUserAgent
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class ClientUserAgent extends UserAgent implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClientUserAgent.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringazureADAppIdprotected StringcommunicationServiceIdprotected ClientPlatformplatformprotected ProductFamilyproductFamily-
Fields inherited from class odata.msgraph.client.callrecords.complex.UserAgent
applicationVersion, contextPath, headerValue, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedClientUserAgent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClientUserAgent.BuilderbuilderClientUserAgent()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getAzureADAppId()Optional<String>getCommunicationServiceId()Optional<ClientPlatform>getPlatform()Optional<ProductFamily>getProductFamily()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()ClientUserAgentwithAzureADAppId(String azureADAppId)ClientUserAgentwithCommunicationServiceId(String communicationServiceId)ClientUserAgentwithPlatform(ClientPlatform platform)ClientUserAgentwithProductFamily(ProductFamily productFamily)ClientUserAgentwithUnmappedField(String name, Object value)-
Methods inherited from class odata.msgraph.client.callrecords.complex.UserAgent
getApplicationVersion, getHeaderValue, withApplicationVersion, withHeaderValue
-
-
-
-
Field Detail
-
azureADAppId
protected String azureADAppId
-
communicationServiceId
protected String communicationServiceId
-
platform
protected ClientPlatform platform
-
productFamily
protected ProductFamily productFamily
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classUserAgent
-
withAzureADAppId
public ClientUserAgent withAzureADAppId(String azureADAppId)
-
withCommunicationServiceId
public ClientUserAgent withCommunicationServiceId(String communicationServiceId)
-
getPlatform
public Optional<ClientPlatform> getPlatform()
-
withPlatform
public ClientUserAgent withPlatform(ClientPlatform platform)
-
getProductFamily
public Optional<ProductFamily> getProductFamily()
-
withProductFamily
public ClientUserAgent withProductFamily(ProductFamily productFamily)
-
withUnmappedField
public ClientUserAgent withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classUserAgent
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classUserAgent
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classUserAgent
-
builderClientUserAgent
public static ClientUserAgent.Builder builderClientUserAgent()
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
-
-