com.softlayer.api.service.resource.group.member.role.Link Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
The newest version!
package com.softlayer.api.service.resource.group.member.role;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
/**
* @see SoftLayer_Resource_Group_Member_Role_Link
*/
@ApiType("SoftLayer_Resource_Group_Member_Role_Link")
public class Link extends Entity {
/**
* A resource group member's ID.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long groupMemberId;
public Long getGroupMemberId() {
return groupMemberId;
}
public void setGroupMemberId(Long groupMemberId) {
groupMemberIdSpecified = true;
this.groupMemberId = groupMemberId;
}
protected boolean groupMemberIdSpecified;
public boolean isGroupMemberIdSpecified() {
return groupMemberIdSpecified;
}
public void unsetGroupMemberId() {
groupMemberId = null;
groupMemberIdSpecified = false;
}
/**
* A resource group's template role ID.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long groupTemplateRoleId;
public Long getGroupTemplateRoleId() {
return groupTemplateRoleId;
}
public void setGroupTemplateRoleId(Long groupTemplateRoleId) {
groupTemplateRoleIdSpecified = true;
this.groupTemplateRoleId = groupTemplateRoleId;
}
protected boolean groupTemplateRoleIdSpecified;
public boolean isGroupTemplateRoleIdSpecified() {
return groupTemplateRoleIdSpecified;
}
public void unsetGroupTemplateRoleId() {
groupTemplateRoleId = null;
groupTemplateRoleIdSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public Mask groupMemberId() {
withLocalProperty("groupMemberId");
return this;
}
public Mask groupTemplateRoleId() {
withLocalProperty("groupTemplateRoleId");
return this;
}
}
}