public class ContentType extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
ContentType.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected String |
group |
protected Boolean |
hidden |
protected ItemReference |
inheritedFrom |
protected String |
name |
protected ContentTypeOrder |
order |
protected String |
parentId |
protected Boolean |
readOnly |
protected Boolean |
sealed |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ContentType() |
| Modifier and Type | Method and Description |
|---|---|
static ContentType.Builder |
builderContentType()
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.ChangedFields |
getChangedFields() |
ColumnLinkCollectionRequest |
getColumnLinks() |
Optional<String> |
getDescription() |
Optional<String> |
getGroup() |
Optional<Boolean> |
getHidden() |
Optional<ItemReference> |
getInheritedFrom() |
Optional<String> |
getName() |
Optional<ContentTypeOrder> |
getOrder() |
Optional<String> |
getParentId() |
Optional<Boolean> |
getReadOnly() |
Optional<Boolean> |
getSealed() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
ContentType |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ContentType |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
ContentType |
withDescription(String description) |
ContentType |
withGroup(String group) |
ContentType |
withHidden(Boolean hidden) |
ContentType |
withInheritedFrom(ItemReference inheritedFrom) |
ContentType |
withName(String name) |
ContentType |
withOrder(ContentTypeOrder order) |
ContentType |
withParentId(String parentId) |
ContentType |
withReadOnly(Boolean readOnly) |
ContentType |
withSealed(Boolean sealed) |
protected String description
protected String group
protected Boolean hidden
protected ItemReference inheritedFrom
protected String name
protected ContentTypeOrder order
protected String parentId
protected Boolean readOnly
protected Boolean sealed
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static ContentType.Builder builderContentType()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic ContentType withDescription(String description)
public ContentType withGroup(String group)
public ContentType withHidden(Boolean hidden)
public Optional<ItemReference> getInheritedFrom()
public ContentType withInheritedFrom(ItemReference inheritedFrom)
public ContentType withName(String name)
public Optional<ContentTypeOrder> getOrder()
public ContentType withOrder(ContentTypeOrder order)
public ContentType withParentId(String parentId)
public ContentType withReadOnly(Boolean readOnly)
public ContentType withSealed(Boolean sealed)
public ColumnLinkCollectionRequest getColumnLinks()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic ContentType patch()
this with changed fields reset.public ContentType put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.