microsoft.dynamics.crm.complex.AssociatedMenuConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of odata-client-microsoft-dynamics Show documentation
Show all versions of odata-client-microsoft-dynamics Show documentation
Java client as template for Microsoft Dynamics organisation endpoints
The newest version!
package microsoft.dynamics.crm.complex;
import com.fasterxml.jackson.annotation.JacksonInject;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.github.davidmoten.odata.client.ContextPath;
import com.github.davidmoten.odata.client.ODataType;
import com.github.davidmoten.odata.client.UnmappedFields;
import com.github.davidmoten.odata.client.Util;
import com.github.davidmoten.odata.client.annotation.Property;
import com.github.davidmoten.odata.client.internal.ChangedFields;
import com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.lang.StringBuilder;
import java.util.Optional;
import java.util.UUID;
import microsoft.dynamics.crm.enums.AssociatedMenuBehavior;
import microsoft.dynamics.crm.enums.AssociatedMenuGroup;
@JsonPropertyOrder({
"@odata.type",
"Behavior",
"Group",
"Label",
"Order",
"IsCustomizable",
"Icon",
"ViewId",
"AvailableOffline",
"MenuId",
"QueryApi"})
@JsonInclude(Include.NON_NULL)
public class AssociatedMenuConfiguration implements ODataType {
@JacksonInject
@JsonIgnore
protected ContextPath contextPath;
@JacksonInject
@JsonIgnore
protected UnmappedFieldsImpl unmappedFields;
@JsonProperty("@odata.type")
protected String odataType;
@JsonProperty("Behavior")
protected AssociatedMenuBehavior behavior;
@JsonProperty("Group")
protected AssociatedMenuGroup group;
@JsonProperty("Label")
protected Label label;
@JsonProperty("Order")
protected Integer order;
@JsonProperty("IsCustomizable")
protected Boolean isCustomizable;
@JsonProperty("Icon")
protected String icon;
@JsonProperty("ViewId")
protected UUID viewId;
@JsonProperty("AvailableOffline")
protected Boolean availableOffline;
@JsonProperty("MenuId")
protected String menuId;
@JsonProperty("QueryApi")
protected String queryApi;
protected AssociatedMenuConfiguration() {
}
@Override
public String odataTypeName() {
return "Microsoft.Dynamics.CRM.AssociatedMenuConfiguration";
}
@Property(name="Behavior")
@JsonIgnore
public Optional getBehavior() {
return Optional.ofNullable(behavior);
}
public AssociatedMenuConfiguration withBehavior(AssociatedMenuBehavior behavior) {
AssociatedMenuConfiguration _x = _copy();
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.AssociatedMenuConfiguration");
_x.behavior = behavior;
return _x;
}
@Property(name="Group")
@JsonIgnore
public Optional getGroup() {
return Optional.ofNullable(group);
}
public AssociatedMenuConfiguration withGroup(AssociatedMenuGroup group) {
AssociatedMenuConfiguration _x = _copy();
_x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.AssociatedMenuConfiguration");
_x.group = group;
return _x;
}
@Property(name="Label")
@JsonIgnore
public Optional
© 2015 - 2025 Weber Informatics LLC | Privacy Policy