public class PublishedResource extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
PublishedResource.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
displayName |
protected OnPremisesPublishingType |
publishingType |
protected String |
resourceName |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
PublishedResource() |
| Modifier and Type | Method and Description |
|---|---|
static PublishedResource.Builder |
builderPublishedResource()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
OnPremisesAgentGroupCollectionRequest |
getAgentGroups() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getDisplayName() |
Optional<OnPremisesPublishingType> |
getPublishingType() |
Optional<String> |
getResourceName() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
PublishedResource |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
PublishedResource |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
PublishedResource |
withDisplayName(String displayName) |
PublishedResource |
withPublishingType(OnPremisesPublishingType publishingType) |
PublishedResource |
withResourceName(String resourceName) |
protected String displayName
protected String resourceName
protected OnPremisesPublishingType publishingType
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static PublishedResource.Builder builderPublishedResource()
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 PublishedResource withDisplayName(String displayName)
public PublishedResource withResourceName(String resourceName)
public Optional<OnPremisesPublishingType> getPublishingType()
public PublishedResource withPublishingType(OnPremisesPublishingType publishingType)
public OnPremisesAgentGroupCollectionRequest getAgentGroups()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic PublishedResource patch()
this with changed fields reset.public PublishedResource put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.