All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.softlayer.api.service.resource.group.member.role.Link Maven / Gradle / Ivy

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;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy