com.softlayer.api.service.resource.group.descendant.Reference 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.descendant;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.resource.Group;
import com.softlayer.api.service.resource.group.Member;
/**
* The SoftLayer_Resource_Group_Descendant_Reference data type simplifies the link between one SoftLayer_Resource_Group_Member object and all of its parents.
*
*
*
* @see SoftLayer_Resource_Group_Descendant_Reference
*/
@ApiType("SoftLayer_Resource_Group_Descendant_Reference")
public class Reference extends Entity {
@ApiProperty
protected Group group;
public Group getGroup() {
return group;
}
public void setGroup(Group group) {
this.group = group;
}
@ApiProperty
protected Member groupMember;
public Member getGroupMember() {
return groupMember;
}
public void setGroupMember(Member groupMember) {
this.groupMember = groupMember;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public com.softlayer.api.service.resource.Group.Mask group() {
return withSubMask("group", com.softlayer.api.service.resource.Group.Mask.class);
}
public com.softlayer.api.service.resource.group.Member.Mask groupMember() {
return withSubMask("groupMember", com.softlayer.api.service.resource.group.Member.Mask.class);
}
}
}