/*
* 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 apigateway-2015-07-09.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.APIGateway.Model
{
///
/// Represents an API resource.
///
public partial class UpdateResourceResponse : AmazonWebServiceResponse
{
private string _id;
private string _parentId;
private string _path;
private string _pathPart;
private Dictionary _resourceMethods = new Dictionary();
///
/// Gets and sets the property Id.
///
/// The resource's identifier.
///
///
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
///
/// Gets and sets the property ParentId.
///
/// The parent resource's identifier.
///
///
public string ParentId
{
get { return this._parentId; }
set { this._parentId = value; }
}
// Check to see if ParentId property is set
internal bool IsSetParentId()
{
return this._parentId != null;
}
///
/// Gets and sets the property Path.
///
/// The full path for this resource.
///
///
public string Path
{
get { return this._path; }
set { this._path = value; }
}
// Check to see if Path property is set
internal bool IsSetPath()
{
return this._path != null;
}
///
/// Gets and sets the property PathPart.
///
/// The last path segment for this resource.
///
///
public string PathPart
{
get { return this._pathPart; }
set { this._pathPart = value; }
}
// Check to see if PathPart property is set
internal bool IsSetPathPart()
{
return this._pathPart != null;
}
///
/// Gets and sets the property ResourceMethods.
///
/// Gets an API resource's method of a given HTTP verb.
///
///
public Dictionary ResourceMethods
{
get { return this._resourceMethods; }
set { this._resourceMethods = value; }
}
// Check to see if ResourceMethods property is set
internal bool IsSetResourceMethods()
{
return this._resourceMethods != null && this._resourceMethods.Count > 0;
}
}
}