/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the support-2013-04-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AWSSupport.Model
{
///
/// A JSON-formatted object that contains the metadata for a support case. It is contained
/// in the response from a DescribeCases request. CaseDetails contains the
/// following fields:
///
/// -
///
/// caseId - The support case ID requested or returned in the call. The case ID
/// is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47.
///
///
-
///
/// categoryCode - The category of problem for the support case. Corresponds to
/// the
CategoryCode
values returned by a call to DescribeServices.
///
/// -
///
/// displayId - The identifier for the case on pages in the Amazon Web Services
/// Support Center.
///
///
-
///
/// language - The language in which Amazon Web Services Support handles the case.
/// Amazon Web Services Support currently supports Chinese (“zh”), English ("en"), Japanese
/// ("ja") and Korean (“ko”). You must specify the ISO 639-1 code for the
language
/// parameter if you want support in that language.
///
/// -
///
/// nextToken - A resumption point for pagination.
///
///
-
///
/// recentCommunications - One or more Communication objects. Fields of
/// these objects are
attachments
, body
, caseId
,
/// submittedBy
, and timeCreated
.
///
/// -
///
/// serviceCode - The identifier for the Amazon Web Services service that corresponds
/// to the service code defined in the call to DescribeServices.
///
///
-
///
/// severityCode - The severity code assigned to the case. Contains one of the
/// values returned by the call to DescribeSeverityLevels. The possible values
/// are:
low
, normal
, high
, urgent
,
/// and critical
.
///
/// -
///
/// status - The status of the case in the Amazon Web Services Support Center.
/// Valid values:
///
///
-
///
///
opened
///
/// -
///
///
pending-customer-action
///
/// -
///
///
reopened
///
/// -
///
///
resolved
///
/// -
///
///
unassigned
///
/// -
///
///
work-in-progress
///
///
-
///
/// subject - The subject line of the case.
///
///
-
///
/// submittedBy - The email address of the account that submitted the case.
///
///
-
///
/// timeCreated - The time the case was created, in ISO-8601 format.
///
///
///
public partial class CaseDetails
{
private string _caseId;
private string _categoryCode;
private List _ccEmailAddresses = new List();
private string _displayId;
private string _language;
private RecentCaseCommunications _recentCommunications;
private string _serviceCode;
private string _severityCode;
private string _status;
private string _subject;
private string _submittedBy;
private string _timeCreated;
///
/// Gets and sets the property CaseId.
///
/// The support case ID requested or returned in the call. The case ID is an alphanumeric
/// string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
///
///
///
public string CaseId
{
get { return this._caseId; }
set { this._caseId = value; }
}
// Check to see if CaseId property is set
internal bool IsSetCaseId()
{
return this._caseId != null;
}
///
/// Gets and sets the property CategoryCode.
///
/// The category of problem for the support case.
///
///
public string CategoryCode
{
get { return this._categoryCode; }
set { this._categoryCode = value; }
}
// Check to see if CategoryCode property is set
internal bool IsSetCategoryCode()
{
return this._categoryCode != null;
}
///
/// Gets and sets the property CcEmailAddresses.
///
/// The email addresses that receive copies of communication about the case.
///
///
[AWSProperty(Min=0, Max=10)]
public List CcEmailAddresses
{
get { return this._ccEmailAddresses; }
set { this._ccEmailAddresses = value; }
}
// Check to see if CcEmailAddresses property is set
internal bool IsSetCcEmailAddresses()
{
return this._ccEmailAddresses != null && this._ccEmailAddresses.Count > 0;
}
///
/// Gets and sets the property DisplayId.
///
/// The ID displayed for the case in the Amazon Web Services Support Center. This is a
/// numeric string.
///
///
public string DisplayId
{
get { return this._displayId; }
set { this._displayId = value; }
}
// Check to see if DisplayId property is set
internal bool IsSetDisplayId()
{
return this._displayId != null;
}
///
/// Gets and sets the property Language.
///
/// The language in which Amazon Web Services Support handles the case. Amazon Web Services
/// Support currently supports Chinese (“zh”), English ("en"), Japanese ("ja") and Korean
/// (“ko”). You must specify the ISO 639-1 code for the language
parameter
/// if you want support in that language.
///
///
public string Language
{
get { return this._language; }
set { this._language = value; }
}
// Check to see if Language property is set
internal bool IsSetLanguage()
{
return this._language != null;
}
///
/// Gets and sets the property RecentCommunications.
///
/// The five most recent communications between you and Amazon Web Services Support Center,
/// including the IDs of any attachments to the communications. Also includes a nextToken
/// that you can use to retrieve earlier communications.
///
///
public RecentCaseCommunications RecentCommunications
{
get { return this._recentCommunications; }
set { this._recentCommunications = value; }
}
// Check to see if RecentCommunications property is set
internal bool IsSetRecentCommunications()
{
return this._recentCommunications != null;
}
///
/// Gets and sets the property ServiceCode.
///
/// The code for the Amazon Web Services service. You can get a list of codes and the
/// corresponding service names by calling DescribeServices.
///
///
public string ServiceCode
{
get { return this._serviceCode; }
set { this._serviceCode = value; }
}
// Check to see if ServiceCode property is set
internal bool IsSetServiceCode()
{
return this._serviceCode != null;
}
///
/// Gets and sets the property SeverityCode.
///
/// The code for the severity level returned by the call to DescribeSeverityLevels.
///
///
public string SeverityCode
{
get { return this._severityCode; }
set { this._severityCode = value; }
}
// Check to see if SeverityCode property is set
internal bool IsSetSeverityCode()
{
return this._severityCode != null;
}
///
/// Gets and sets the property Status.
///
/// The status of the case.
///
///
///
/// Valid values:
///
/// -
///
///
opened
///
/// -
///
///
pending-customer-action
///
/// -
///
///
reopened
///
/// -
///
///
resolved
///
/// -
///
///
unassigned
///
/// -
///
///
work-in-progress
///
///
///
public string Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
///
/// Gets and sets the property Subject.
///
/// The subject line for the case in the Amazon Web Services Support Center.
///
///
public string Subject
{
get { return this._subject; }
set { this._subject = value; }
}
// Check to see if Subject property is set
internal bool IsSetSubject()
{
return this._subject != null;
}
///
/// Gets and sets the property SubmittedBy.
///
/// The email address of the account that submitted the case.
///
///
public string SubmittedBy
{
get { return this._submittedBy; }
set { this._submittedBy = value; }
}
// Check to see if SubmittedBy property is set
internal bool IsSetSubmittedBy()
{
return this._submittedBy != null;
}
///
/// Gets and sets the property TimeCreated.
///
/// The time that the case was created in the Amazon Web Services Support Center.
///
///
public string TimeCreated
{
get { return this._timeCreated; }
set { this._timeCreated = value; }
}
// Check to see if TimeCreated property is set
internal bool IsSetTimeCreated()
{
return this._timeCreated != null;
}
}
}