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

com.logmein.gotowebinar_2_0.api.model.AssetsSearchReq Maven / Gradle / Ivy

There is a newer version: 2.9.0
Show newest version
/*
 * © 2017 LogMeIn, Inc. All Rights Reserved.
 * All rights reserved.
 * 
 * This software is distributed under the terms and conditions of the
 * LogMeIn SDK License Agreement. Please see file LICENSE for details.
 * 
 * Auto-generated file.
 */


package com.logmein.gotowebinar_2_0.api.model;


import com.logmein.gotowebinar_2_0.api.common.JsonUtil;

/**
 * Describes the details used to search a completed recordingasset.
 */
public class AssetsSearchReq {

    /* The key of the account */
    private String accountKey = null;

    /* The name of the recordingasset */
    private String name = null;

    /* Sorts on the specified field. The default value is \"CREATETIME\". The possible values are \"CREATETIME\" and \"NAME\". */
    private String sortField = "CREATETIME";

    /* Specifies the sort order type. The default value is \"DESC\". The possible values are \"DESC\", \"ASC\". */
    private String sortOrder = "DESC";

    /**
     * @return The key of the account
     */
    public String getAccountKey() {
        return accountKey;
    }

    /**
     * @param accountKey The key of the account
     */
    public void setAccountKey(String accountKey) {
        this.accountKey = accountKey;
    }

    /**
     * @return The name of the recordingasset
     */
    public String getName() {
        return name;
    }

    /**
     * @param name The name of the recordingasset
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return Sorts on the specified field. The default value is \"CREATETIME\". The possible values are \"CREATETIME\" and \"NAME\".
     */
    public String getSortField() {
        return sortField;
    }

    /**
     * @param sortField Sorts on the specified field. The default value is \"CREATETIME\". The possible values are \"CREATETIME\" and \"NAME\".
     */
    public void setSortField(String sortField) {
        this.sortField = sortField;
    }

    /**
     * @return Specifies the sort order type. The default value is \"DESC\". The possible values are \"DESC\", \"ASC\".
     */
    public String getSortOrder() {
        return sortOrder;
    }

    /**
     * @param sortOrder Specifies the sort order type. The default value is \"DESC\". The possible values are \"DESC\", \"ASC\".
     */
    public void setSortOrder(String sortOrder) {
        this.sortOrder = sortOrder;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("class AssetsSearchReq {\n");
        String accountKeyString = JsonUtil.Stringify(accountKey);
        if (accountKeyString != null && !accountKeyString.isEmpty())
            sb.append(String.format("  accountKey: %s\n", accountKeyString));
        String nameString = JsonUtil.Stringify(name);
        if (nameString != null && !nameString.isEmpty())
            sb.append(String.format("  name: %s\n", nameString));
        String sortFieldString = JsonUtil.Stringify(sortField);
        if (sortFieldString != null && !sortFieldString.isEmpty())
            sb.append(String.format("  sortField: %s\n", sortFieldString));
        String sortOrderString = JsonUtil.Stringify(sortOrder);
        if (sortOrderString != null && !sortOrderString.isEmpty())
            sb.append(String.format("  sortOrder: %s\n", sortOrderString));
        sb.append("}\n");
        return sb.toString();
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy