Package odata.msgraph.client.entity
Class Print
- java.lang.Object
-
- odata.msgraph.client.entity.Print
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Print extends Object implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPrint.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.internal.ChangedFieldschangedFieldsprotected List<PrintConnector>connectorsprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected List<PrintOperation>operationsprotected List<Printer>printersprotected List<PrintService>servicesprotected PrintSettingssettingsprotected List<PrinterShare>sharesprotected List<PrintTaskDefinition>taskDefinitionsprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedPrint()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Print.Builderbuilder()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()PrintConnectorCollectionRequestgetConnectors()PrintOperationCollectionRequestgetOperations()PrinterCollectionRequestgetPrinters()PrintServiceCollectionRequestgetServices()Optional<PrintSettings>getSettings()PrinterShareCollectionRequestgetShares()PrintTaskDefinitionCollectionRequestgetTaskDefinitions()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()Printpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Printput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()PrintwithConnectors(List<PrintConnector> connectors)PrintwithOperations(List<PrintOperation> operations)PrintwithPrinters(List<Printer> printers)PrintwithServices(List<PrintService> services)PrintwithSettings(PrintSettings settings)PrintwithShares(List<PrinterShare> shares)PrintwithTaskDefinitions(List<PrintTaskDefinition> taskDefinitions)PrintwithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
changedFields
protected com.github.davidmoten.odata.client.internal.ChangedFields changedFields
-
odataType
protected String odataType
-
settings
protected PrintSettings settings
-
connectors
protected List<PrintConnector> connectors
-
operations
protected List<PrintOperation> operations
-
services
protected List<PrintService> services
-
shares
protected List<PrinterShare> shares
-
taskDefinitions
protected List<PrintTaskDefinition> taskDefinitions
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static Print.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
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
getSettings
public Optional<PrintSettings> getSettings()
-
withSettings
public Print withSettings(PrintSettings settings)
-
getConnectors
public PrintConnectorCollectionRequest getConnectors()
-
getOperations
public PrintOperationCollectionRequest getOperations()
-
getPrinters
public PrinterCollectionRequest getPrinters()
-
getServices
public PrintServiceCollectionRequest getServices()
-
getShares
public PrinterShareCollectionRequest getShares()
-
getTaskDefinitions
public PrintTaskDefinitionCollectionRequest getTaskDefinitions()
-
withConnectors
public Print withConnectors(List<PrintConnector> connectors)
-
withOperations
public Print withOperations(List<PrintOperation> operations)
-
withServices
public Print withServices(List<PrintService> services)
-
withShares
public Print withShares(List<PrinterShare> shares)
-
withTaskDefinitions
public Print withTaskDefinitions(List<PrintTaskDefinition> taskDefinitions)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
patch
public Print patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public Print put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
-