Package odata.msgraph.client.complex
Class RenameAction
- java.lang.Object
-
- odata.msgraph.client.complex.RenameAction
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class RenameAction extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRenameAction.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringnewNameprotected StringodataTypeprotected StringoldNameprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedRenameAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RenameAction.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getNewName()Optional<String>getOldName()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()RenameActionwithNewName(String newName)RenameActionwithOldName(String oldName)RenameActionwithUnmappedField(String name, Object value)
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withNewName
public RenameAction withNewName(String newName)
-
withOldName
public RenameAction withOldName(String oldName)
-
withUnmappedField
public RenameAction withUnmappedField(String name, Object 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 RenameAction.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
-
-