public class WorkItemTypeField extends Object implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
WorkItemTypeField.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.internal.ChangedFields |
changedFields |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
fieldName |
protected String |
fieldReferenceName |
protected String |
fieldType |
protected String |
odataType |
protected String |
projectSK |
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl |
unmappedFields |
protected String |
workItemType |
| Modifier | Constructor and Description |
|---|---|
protected |
WorkItemTypeField() |
| Modifier and Type | Method and Description |
|---|---|
static WorkItemTypeField.Builder |
builder()
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() |
Optional<String> |
getFieldName() |
Optional<String> |
getFieldReferenceName() |
Optional<String> |
getFieldType() |
ProjectRequest |
getProject() |
Optional<String> |
getProjectSK() |
com.github.davidmoten.odata.client.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getWorkItemType() |
String |
odataTypeName() |
WorkItemTypeField |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
WorkItemTypeField |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
WorkItemTypeField |
withFieldName(String fieldName) |
WorkItemTypeField |
withFieldReferenceName(String fieldReferenceName) |
WorkItemTypeField |
withFieldType(String fieldType) |
WorkItemTypeField |
withProjectSK(String projectSK) |
WorkItemTypeField |
withUnmappedField(String name,
String value) |
WorkItemTypeField |
withWorkItemType(String workItemType) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
protected com.github.davidmoten.odata.client.internal.ChangedFields changedFields
protected String odataType
protected String projectSK
protected String fieldName
protected String fieldReferenceName
protected String fieldType
protected String workItemType
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic static WorkItemTypeField.Builder builder()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic WorkItemTypeField withProjectSK(String projectSK)
public WorkItemTypeField withFieldName(String fieldName)
public WorkItemTypeField withFieldReferenceName(String fieldReferenceName)
public WorkItemTypeField withFieldType(String fieldType)
public WorkItemTypeField withWorkItemType(String workItemType)
public WorkItemTypeField withUnmappedField(String name, String value)
public ProjectRequest getProject()
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic WorkItemTypeField patch()
this with changed fields reset.this with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic WorkItemTypeField put()
this
with changed fields reset (they were ignored anyway).this with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedCopyright © 2018–2020. All rights reserved.