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

com.softlayer.api.service.account.Link Maven / Gradle / Ivy

The newest version!
package com.softlayer.api.service.account;

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Account;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.service.Provider;
import java.util.GregorianCalendar;

/**
 * @see SoftLayer_Account_Link
 */
@ApiType("SoftLayer_Account_Link")
public class Link extends Entity {

    @ApiProperty
    protected Account account;

    public Account getAccount() {
        return account;
    }

    public void setAccount(Account account) {
        this.account = account;
    }

    @ApiProperty
    protected Provider serviceProvider;

    public Provider getServiceProvider() {
        return serviceProvider;
    }

    public void setServiceProvider(Provider serviceProvider) {
        this.serviceProvider = serviceProvider;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected Long accountId;

    public Long getAccountId() {
        return accountId;
    }

    public void setAccountId(Long accountId) {
        accountIdSpecified = true;
        this.accountId = accountId;
    }

    protected boolean accountIdSpecified;

    public boolean isAccountIdSpecified() {
        return accountIdSpecified;
    }

    public void unsetAccountId() {
        accountId = null;
        accountIdSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected GregorianCalendar createDate;

    public GregorianCalendar getCreateDate() {
        return createDate;
    }

    public void setCreateDate(GregorianCalendar createDate) {
        createDateSpecified = true;
        this.createDate = createDate;
    }

    protected boolean createDateSpecified;

    public boolean isCreateDateSpecified() {
        return createDateSpecified;
    }

    public void unsetCreateDate() {
        createDate = null;
        createDateSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String destinationAccountAlphanumericId;

    public String getDestinationAccountAlphanumericId() {
        return destinationAccountAlphanumericId;
    }

    public void setDestinationAccountAlphanumericId(String destinationAccountAlphanumericId) {
        destinationAccountAlphanumericIdSpecified = true;
        this.destinationAccountAlphanumericId = destinationAccountAlphanumericId;
    }

    protected boolean destinationAccountAlphanumericIdSpecified;

    public boolean isDestinationAccountAlphanumericIdSpecified() {
        return destinationAccountAlphanumericIdSpecified;
    }

    public void unsetDestinationAccountAlphanumericId() {
        destinationAccountAlphanumericId = null;
        destinationAccountAlphanumericIdSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected Long destinationAccountId;

    public Long getDestinationAccountId() {
        return destinationAccountId;
    }

    public void setDestinationAccountId(Long destinationAccountId) {
        destinationAccountIdSpecified = true;
        this.destinationAccountId = destinationAccountId;
    }

    protected boolean destinationAccountIdSpecified;

    public boolean isDestinationAccountIdSpecified() {
        return destinationAccountIdSpecified;
    }

    public void unsetDestinationAccountId() {
        destinationAccountId = null;
        destinationAccountIdSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected Long id;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        idSpecified = true;
        this.id = id;
    }

    protected boolean idSpecified;

    public boolean isIdSpecified() {
        return idSpecified;
    }

    public void unsetId() {
        id = null;
        idSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected Long serviceProviderId;

    public Long getServiceProviderId() {
        return serviceProviderId;
    }

    public void setServiceProviderId(Long serviceProviderId) {
        serviceProviderIdSpecified = true;
        this.serviceProviderId = serviceProviderId;
    }

    protected boolean serviceProviderIdSpecified;

    public boolean isServiceProviderIdSpecified() {
        return serviceProviderIdSpecified;
    }

    public void unsetServiceProviderId() {
        serviceProviderId = null;
        serviceProviderIdSpecified = false;
    }

    public static class Mask extends com.softlayer.api.service.Entity.Mask {

        public com.softlayer.api.service.Account.Mask account() {
            return withSubMask("account", com.softlayer.api.service.Account.Mask.class);
        }

        public com.softlayer.api.service.service.Provider.Mask serviceProvider() {
            return withSubMask("serviceProvider", com.softlayer.api.service.service.Provider.Mask.class);
        }

        public Mask accountId() {
            withLocalProperty("accountId");
            return this;
        }

        public Mask createDate() {
            withLocalProperty("createDate");
            return this;
        }

        public Mask destinationAccountAlphanumericId() {
            withLocalProperty("destinationAccountAlphanumericId");
            return this;
        }

        public Mask destinationAccountId() {
            withLocalProperty("destinationAccountId");
            return this;
        }

        public Mask id() {
            withLocalProperty("id");
            return this;
        }

        public Mask serviceProviderId() {
            withLocalProperty("serviceProviderId");
            return this;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy